/* -- TOKENS -- */
:root {
  --primary: #1A2F38;
  --accent: #C6F135;
  --secondary: #6B8A8E;
  --light: #ECEEE8;
  --body-text: #3A4A50;
  --body-muted: #6B8A8E;
  --body-heading: #1A2F38;
}

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

body {
  font-family: 'Archivo', sans-serif;
  background: var(--primary);
  color: var(--light);
  overflow-x: hidden;
}

/* ======================================
   NAV
   ====================================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(26,47,56,0.85);
  border-bottom: 1px solid rgba(198,241,53,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo svg { height: 45px; color: var(--light); }
.nav-logo img { height: 45px; width: auto; display: block; }

.nav-logo:hover svg {
  color: var(--accent);
}
.nav-logo-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(198,241,53,0.3);
}

/* ======================================
   HERO
   ====================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 3rem 6rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198,241,53,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,241,53,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, black, transparent);
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  right: -100px; top: -100px;
  background: radial-gradient(circle, rgba(198,241,53,0.07), transparent 70%);
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  right: 6%; top: 50%;
  transform: translateY(-50%);
  opacity: 0.04;
  pointer-events: none;
}

.hero-mark svg { width: 550px; height: 520px; color: var(--accent); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--light);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}

.accent-dot { color: var(--accent); }

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--secondary);
  max-width: 520px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--primary);
  padding: 1rem 2rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198,241,53,0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--light);
  padding: 1rem 2rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(107,138,142,0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ======================================
   STATS BAR
   ====================================== */
.stats-bar {
  border-top: 1px solid rgba(107,138,142,0.15);
  border-bottom: 1px solid rgba(107,138,142,0.15);
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { opacity: 0; animation: fadeUp 0.6s forwards; }
.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ======================================
   BRANDS SECTION
   ====================================== */
.brands-section {
  padding: 7rem 3rem;
  background: var(--light);
}

.brands-section .section-eyebrow { color: var(--primary); }
.brands-section .section-eyebrow::before { background: var(--primary); }
.brands-section .section-title { color: var(--primary); }
.brands-section .section-desc { color: var(--secondary); }
.brands-section .accent-dot { color: var(--secondary); }

.section-header { max-width: 600px; margin-bottom: 4rem; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-eyebrow::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--light);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--secondary);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.brand-card {
  background: white;
  border: 1px solid rgba(26,47,56,0.1);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.3s, transform 0.2s;
}

.brand-card:hover {
  box-shadow: 0 12px 40px rgba(26,47,56,0.08);
  transform: translateY(-3px);
}

.brand-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.brand-card:hover::after { opacity: 1; }

.brand-card-logo-wrap {
  margin-bottom: 1.25rem;
}

.brand-card-logo-wrap img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
  display: block;
}

.brand-card-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.brand-card-name .dot { color: var(--accent); }

.brand-card-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 1.25rem;
}

.brand-card-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body-text);
}

.brand-card-arrow {
  position: absolute;
  bottom: 2rem; right: 2rem;
  width: 32px; height: 32px;
  border: 1px solid rgba(26,47,56,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all 0.3s;
}

.brand-card:hover .brand-card-arrow {
  border-color: var(--accent);
  color: var(--primary);
  background: var(--accent);
}

/* ======================================
   PHILOSOPHY
   ====================================== */
.philosophy {
  padding: 7rem 3rem;
  background: var(--light);
  color: var(--primary);
}

.philosophy .section-eyebrow { color: var(--primary); }
.philosophy .section-eyebrow::before { background: var(--primary); }
.philosophy .section-title { color: var(--primary); }
.philosophy .section-desc { color: var(--secondary); }
.philosophy .accent-dot { color: var(--secondary); }
.philosophy-card h3 .dot { color: var(--secondary); }

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.philosophy-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(26,47,56,0.1);
  border-radius: 8px;
  background: white;
  transition: box-shadow 0.3s;
}

.philosophy-card:hover {
  box-shadow: 0 12px 40px rgba(26,47,56,0.08);
}

.philosophy-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.philosophy-card h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--primary);
}


.philosophy-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--secondary);
}

.philosophy-card p a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(198,241,53,0.5);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.25s;
}

.philosophy-card p a:hover {
  text-decoration-color: var(--accent);
}

/* ======================================
   CTA SECTION
   ====================================== */
.cta-section {
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 500px; height: 500px;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(198,241,53,0.06), transparent 70%);
  pointer-events: none;
}

.cta-section .section-header {
  margin: 0 auto 3rem;
  text-align: center;
}

.cta-section .section-eyebrow { justify-content: center; }

.cta-mark { margin-bottom: 2.5rem; }

.cta-mark svg { width: 56px; height: 53px; color: var(--accent); }

/* ======================================
   MEGA FOOTER
   ====================================== */
footer {
  background: var(--primary);
  border-top: 1px solid rgba(107,138,142,0.12);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.footer-logo svg { height: 40px; color: var(--secondary); }
.footer-logo img { height: 40px; width: auto; display: block; }

.footer-logo-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-contact-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--secondary);
}

.footer-contact-row svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-row a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-contact-row a:hover { color: var(--accent); }

.footer-paddle {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(107,138,142,0.6);
  border-top: 1px solid rgba(107,138,142,0.1);
  padding-top: 1rem;
}

.footer-paddle strong {
  color: var(--secondary);
  font-weight: 600;
}

.footer-col-heading {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.95rem;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  border-top: 1px solid rgba(107,138,142,0.1);
  font-size: 0.7rem;
  color: rgba(107,138,142,0.5);
}

/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-mark { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.5rem; }
  .brands-grid { grid-template-columns: 1fr; }
  .brands-section, .philosophy, .cta-section { padding: 5rem 1.5rem; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
  }
  .footer-bottom { padding: 1.5rem; }
}

@media (max-width: 600px) {
  .nav-links .hide-mobile { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .stat-number { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .brand-card { padding: 1.5rem; }
  .brand-card-arrow { bottom: 1.25rem; right: 1.25rem; }
}

/* ======================================
   LEGAL / CONTENT PAGES
   ====================================== */
body.legal-page {
  background: var(--light);
  color: var(--body-text);
}

/* -- PAGE HEADER (dark band) -- */
.page-header {
  padding: 10rem 3rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.page-header-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198,241,53,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,241,53,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, black, transparent);
}

.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}

.page-header-eyebrow::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--accent);
}

.page-header h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--light);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.page-header-meta {
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}

/* -- CONTENT BODY (light bg) -- */
.content-area {
  background: var(--light);
}

.content-wrap {
  display: flex;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
}

/* -- SIDEBAR TOC -- */
.toc {
  position: sticky;
  top: 6rem;
  flex-shrink: 0;
  width: 200px;
  align-self: flex-start;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
}

.toc-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-muted);
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.toc-list a {
  display: block;
  padding: 0.45rem 0 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--body-muted);
  text-decoration: none;
  border-left: 1px solid rgba(26,47,56,0.1);
  transition: color 0.2s, border-color 0.2s;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--primary);
  border-left-color: var(--accent);
}

/* -- ARTICLE -- */
.article {
  flex: 1;
  min-width: 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}

.article section {
  margin-bottom: 3rem;
  scroll-margin-top: 6rem;
}

.article h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--body-heading);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(26,47,56,0.1);
}

.article h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--body-heading);
  margin-bottom: 0.6rem;
  margin-top: 1.75rem;
}

.article p {
  font-size: 0.925rem;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 1.25rem;
}

.article a {
  color: var(--body-heading);
  text-decoration: underline;
  text-decoration-color: rgba(198,241,53,0.5);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.25s;
}

.article a:hover {
  text-decoration-color: var(--accent);
}

.article ul {
  list-style: none;
  margin-bottom: 1.25rem;
  padding-left: 0;
}

.article ul li {
  font-size: 0.925rem;
  line-height: 1.8;
  color: var(--body-text);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 1px;
}

/* -- FULL-WIDTH ARTICLE (no TOC sidebar) -- */
.legal-article-full {
  max-width: 780px;
  margin: 0 auto;
}

.article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article ol li {
  font-size: 0.925rem;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 0.25rem;
}

.article .text-formatted {
  margin-bottom: 1.25rem;
}

/* -- LEGAL RESPONSIVE -- */
@media (max-width: 900px) {
  .page-header { padding: 8rem 1.5rem 3rem; }
  .content-wrap {
    flex-direction: column;
    gap: 0;
    padding: 2.5rem 1.5rem 4rem;
  }
  .toc {
    position: relative;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(26,47,56,0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
  }
  .toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .toc-list a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    border-radius: 3px;
    background: rgba(26,47,56,0.06);
  }
  .toc-list a:hover,
  .toc-list a.active {
    border-bottom-color: var(--accent);
    background: rgba(198,241,53,0.15);
  }
}

@media (max-width: 600px) {
  .page-header h1 { font-size: 2.25rem; }
}
