/* ==========================================================================
   Annex — TeamAnnex.com Design System
   Shared tokens, base styles, header, footer, and reusable components.
   Page-specific components live in css/pages.css.
   ========================================================================== */

:root {
  /* Brand */
  --black: #070707;
  --charcoal: #141414;
  --ink: #202124;
  --muted: #667085;
  --soft: #f7f7f4;
  --surface: #ffffff;
  --line: #e7e5dc;
  --gold: #ad7b3d;
  --gold-2: #f0c256;
  --gold-soft: #fff7df;
  --blue: #4a57fe;

  /* Partner accents */
  --fire: #f15a24;
  --ice: #662d91;
  --fire-soft: #fff3ed;
  --ice-soft: #f4ebff;
  --navy: #1b143f;
  --navy-2: #24185a;
  --exec-gold: #b98720;

  /* Shape + layout */
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 16px 44px rgba(24, 18, 8, .09);
  --shadow-soft: 0 6px 22px rgba(24, 18, 8, .05);
  --max: 1180px;
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: Outfit, Inter, sans-serif;
  margin: 0;
  line-height: 1.06;
  color: var(--black);
  letter-spacing: -.03em;
  font-weight: 700;
}

/* Editorial serif accent — used for the highlighted phrase in headlines */
.accent {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--gold);
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.lead { color: #475467; font-size: 20px; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  font-size: 14px;
  transition: .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--black);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.btn-primary:hover { transform: translateY(-1px); background: #241d12; }
.btn-gold {
  background: linear-gradient(120deg, var(--gold), #d9a94e);
  color: #140f05;
  box-shadow: 0 6px 16px rgba(173, 123, 61, .22);
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-outline {
  background: #fff;
  color: var(--black);
  border-color: #d8d4c6;
}
.btn-outline:hover { border-color: var(--gold); transform: translateY(-1px); }
.btn-fire {
  background: var(--fire);
  color: #fff;
  box-shadow: 0 6px 16px rgba(241, 90, 36, .22);
}
.btn-fire:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(27, 20, 63, .2);
}
.btn-navy:hover { transform: translateY(-1px); background: var(--navy-2); }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 229, 220, .9);
}
/* Brand accent line across the very top of every page */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2) 55%, var(--gold));
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 42px; width: auto; }

/* Co-branded lockup (Execaros / Fire & Ice pages) */
.cobrand-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  font-weight: 900;
  color: var(--black);
  flex: 0 0 auto;
  font-size: 15px;
}
.brand .cobrand-logo { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: #4b5563;
}
.nav-links a { padding: 10px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--black); background: #f2f1eb; }
.nav-links a[aria-current="page"] { color: var(--black); background: #f2f1eb; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.menu-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: transform .25s ease, top .25s ease, opacity .2s ease, background .2s ease;
}
.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle:hover span { background: var(--gold); }
body.menu-open .menu-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Mobile menu panel */
@media (max-width: 1040px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
    padding: 10px 16px 16px;
    font-size: 15px;
  }
  .nav-links a { padding: 13px 14px; border-radius: 12px; }
  body.menu-open .nav-links { display: flex; animation: menu-in .22s ease; }
  .menu-toggle { display: block; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-head h2 { font-size: clamp(34px, 4vw, 56px); max-width: 760px; }
.section-head p { max-width: 430px; color: var(--muted); font-size: 16px; }
.section-head.center {
  display: block;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 42px;
}
.section-head.center p { max-width: 680px; margin: 16px auto 0; font-size: 18px; }

.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Dark section */
.dark {
  background: var(--black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 194, 86, .16), transparent 30%),
    radial-gradient(circle at 75% 40%, rgba(74, 87, 254, .16), transparent 32%);
  pointer-events: none;
}
.dark .wrap { position: relative; z-index: 1; }
.dark h2, .dark h3 { color: #fff; }
.dark .section-head p, .dark p { color: #b8beca; }

/* --------------------------------------------------------------------------
   Hero base
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 56px;
  background:
    radial-gradient(820px 420px at 88% -12%, rgba(240, 194, 86, .16), transparent 62%),
    linear-gradient(180deg, #fffdf7 0%, var(--soft) 100%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.hero h1 { margin-top: 18px; font-size: clamp(42px, 5.6vw, 74px); max-width: 780px; letter-spacing: -.035em; }
.hero .lead { margin-top: 22px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Proof pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  background: rgba(255, 255, 255, .85);
  border: 1px solid #ddd8ca;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 700;
  color: #4a4436;
}

/* Glass panel (hero visuals) */
.glass-panel {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(231, 229, 220, .9);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* --------------------------------------------------------------------------
   Grids + cards
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.card h3 { font-size: 24px; letter-spacing: -.04em; }
.card > p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.hover-lift { transition: .22s ease; }
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(24, 18, 8, .1);
  border-color: rgba(173, 123, 61, .45);
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border: 1px solid rgba(173, 123, 61, .22);
  color: var(--gold);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 18px;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge.dark-badge { background: var(--black); border-color: var(--black); color: var(--gold-2); font-size: 15px; }

/* Check lists */
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: #475467; font-size: 14px; font-weight: 600; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}
.dark .check-list li, .check-list.on-dark li { color: #d7dae4; }
.dark .check-list li::before, .check-list.on-dark li::before { color: var(--gold-2); }

/* Numbered process cards */
.process-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 18px;
  min-height: 150px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.process-row { counter-reset: step; }
.process-row .process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: rgba(173, 123, 61, .35);
  font-family: Outfit, Inter, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}
.process-card h3 { font-size: 19px; }
.process-card p { margin-top: 8px; color: var(--muted); font-size: 13px; }

/* Stats */
.stat {
  text-align: center;
  padding: 28px 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.stat strong {
  display: block;
  color: var(--black);
  font-size: 36px;
  font-family: Outfit, Inter, sans-serif;
  letter-spacing: -.05em;
}
.stat span { display: block; color: var(--muted); font-size: 13px; font-weight: 800; margin-top: 6px; }

/* Trust strip */
.trust-strip { padding: 26px 0; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.trust-label {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 900;
  color: #8a91a0;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-box h3 { font-size: 26px; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.field.full { grid-column: 1 / -1; }
.form-grid .field { margin-top: 0; }
.field label { font-size: 13px; font-weight: 800; color: #333; }
.field input, .field textarea, .field select {
  border: 1px solid #dcd9d0;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(173, 123, 61, .13);
}
.form-note { font-size: 12px; color: #8a8577; margin-top: 12px; text-align: center; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--black), #2b2115);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(240, 194, 86, .34), transparent 42%);
}
.cta .wrap { position: relative; z-index: 1; max-width: 900px; }
.cta h2 { color: #fff; font-size: clamp(38px, 5vw, 70px); }
.cta p { margin: 20px auto 0; color: #d0d5dd; font-size: 18px; max-width: 690px; }
.cta-actions { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #070707; color: #b8beca; padding: 44px 0; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo { height: 42px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: .03em; }
.site-footer p { font-size: 14px; }
.site-footer a { display: block; color: #b8beca; font-size: 13px; margin: 9px 0; }
.site-footer a:hover { color: var(--gold-2); }
.copyright {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: #808795;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand .cobrand-logo { height: 32px; }
  .brand img { height: 36px; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .nav { height: 72px; }
  .brand img { height: 32px; }
  .brand .cobrand-logo { height: 26px; }
  .cobrand-plus { width: 22px; height: 22px; font-size: 12px; }
  .nav-actions .btn { display: none; }
  .hero { padding: 54px 0 36px; }
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 17px; }
  .section { padding: 62px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .form-box, .cta-panel { padding: 22px; }
}
