/* ==========================================================================
   The A(I) Team Essentials — shared styles
   ========================================================================== */

:root {
  /* Brand palette */
  --navy: #1D2B3A;
  --navy-deep: #131D28;
  --cream: #F7F4EE;
  --cream-warm: #FBEDE0;
  --amber: #E8944A;
  --amber-deep: #C97633;
  --slate: #6B7280;
  --line: #E5E0D5;
  --line-dark: #2B3A4C;
  --white: #FFFFFF;

  /* Type — matches the flyer: one plain system sans throughout */
  --font-display: 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

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

button { font-family: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--amber-deep);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--amber); }
.eyebrow.on-dark::before { background: var(--amber); }

.amber-accent { color: var(--amber-deep); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247,244,238,0.4);
}
.btn-outline-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--cream);
}
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand .amber-accent { color: var(--amber); margin: 0 -0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--cream);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--amber);
  transition: right 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--amber); }

.nav-cta { display: flex; align-items: center; gap: 22px; }

.nav-links-cta {
  display: none;
}
@media (max-width: 860px) {
  .nav-links-cta {
    display: inline-flex;
    margin-top: 6px;
  }
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
    padding: 12px 32px 20px;
  }
  .nav-links.open a { padding: 10px 0; width: 100%; }
  .nav-links.open .nav-links-cta {
    margin-top: 8px;
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */

section { padding: 88px 0; }
@media (max-width: 700px) { section { padding: 56px 0; } }

.section-navy {
  background: var(--navy);
  color: var(--cream);
}
.section-navy .slate-text { color: rgba(247,244,238,0.68); }

.slate-text { color: var(--slate); }

.section-head {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-top: 12px;
}
.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--slate);
}
.section-navy .section-head p { color: rgba(247,244,238,0.72); }

/* Pain chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
}

/* Pillar cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border-top: 3px solid var(--amber);
  box-shadow: 0 1px 2px rgba(29,43,58,0.04);
  text-align: center;
}
.pillar-card .pillar-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.pillar-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.pillar-card p { color: var(--slate); font-size: 15px; }

/* Process steps */
.step-panel {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 860px) {
  .step-panel { grid-template-columns: 1fr; padding: 36px 28px; }
}
.step-item {
  text-align: center;
}
.step-item .step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy-deep);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-item h3 {
  color: var(--cream);
  font-size: 18px;
  margin-bottom: 8px;
}
.step-item p {
  color: rgba(247,244,238,0.68);
  font-size: 14.5px;
}

/* CTA band */
.cta-band {
  background: var(--cream-warm);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); max-width: 520px; }
.cta-band .cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-band .contact-inline {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--navy);
}

/* Footer — mirrors the flyer footer band */
.site-footer {
  background: var(--cream);
  border-top: 2px solid var(--navy);
  padding: 40px 0 0;
}
.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding-bottom: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}
.footer-brand .mark { width: 26px; height: 26px; }
.footer-sub { font-size: 13.5px; color: var(--slate); }
.footer-links-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  flex-wrap: wrap;
}
.footer-links-row a { color: var(--navy); }
.footer-links-row a:hover { color: var(--amber-deep); }

.footer-contact-block { text-align: center; }
.footer-cta {
  font-weight: 700;
  color: var(--amber-deep);
  font-size: 15px;
}
.footer-contact-line {
  font-size: 14px;
  color: var(--navy);
  margin-top: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--slate);
  text-align: center;
}

/* Hero / split layouts */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid, .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.callout-box {
  background: var(--cream-warm);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

