/* ====================================
   Sweep OS — Capital Group
   Typography: Cormorant Garamond + DM Sans
   Palette: Deep Navy / Warm Ivory / Muted Gold
   ==================================== */

:root {
  --navy:    #0d1b2a;
  --navy-2:  #1a2e45;
  --navy-3:  #243b55;
  --gold:    #b8935a;
  --gold-lt: #d4b07a;
  --ivory:   #f8f4ef;
  --paper:   #f0ebe2;
  --muted:   #8a9ab0;
  --white:   #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-lt);
}
.btn--navy {
  background: var(--navy);
  color: var(--ivory);
}
.btn--navy:hover {
  background: var(--navy-2);
}
.btn--outline {
  border: 1px solid rgba(248, 244, 239, 0.4);
  color: var(--ivory);
}
.btn--outline:hover {
  border-color: var(--ivory);
  background: rgba(248, 244, 239, 0.08);
}
.btn--outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ====================================
   NAV
   ==================================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav__left {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory);
  text-decoration: none;
}
.nav__tagline {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 244, 239, 0.6);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--ivory); }
.nav__link--cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.45rem 1.2rem;
  transition: all 0.2s;
}
.nav__link--cta:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ====================================
   HERO
   ==================================== */
.hero {
  padding: 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}
.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.55) 0%, rgba(13, 27, 42, 0.3) 100%);
  z-index: 1;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 6rem 4rem 5rem;
}
.hero__left {}
.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(248, 244, 239, 0.65);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__right {
  padding-top: 0.5rem;
}
.hero__stat-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(184, 147, 90, 0.25);
  padding-left: 2.5rem;
}
.hero__stat {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(248, 244, 239, 0.07);
}
.hero__stat:last-child { border-bottom: none; }
.hero__stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.hero__stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(248, 244, 239, 0.5);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.hero__rule {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 4rem;
  height: 1px;
  background: linear-gradient(to right, rgba(184, 147, 90, 0.3), transparent);
  position: relative;
  z-index: 2;
}

/* ====================================
   SECTION COMMONS
   ==================================== */
.section__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section__sub {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 55ch;
  line-height: 1.7;
}

/* ====================================
   SERVICES
   ==================================== */
.services {
  padding: var(--space-xl) 4rem;
  background: var(--ivory);
}
.services__header {
  margin-bottom: 4rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--navy);
  border: 1px solid var(--navy);
}
.service-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.2s;
}
.service-card:hover { background: var(--navy-2); }
.service-card__icon {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.service-card__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service-card__body {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(248, 244, 239, 0.6);
  margin-bottom: 1.5rem;
}
.service-card__detail {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  border-top: 1px solid rgba(184, 147, 90, 0.15);
  padding-top: 1rem;
}

/* ====================================
   MANIFESTO (Investor Section)
   ==================================== */
.manifesto {
  padding: var(--space-xl) 4rem;
  background: var(--paper);
  border-top: 1px solid rgba(13, 27, 42, 0.07);
}
.manifesto__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto__title {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.manifesto__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--navy-3);
  max-width: 65ch;
  margin-bottom: 0;
}
.manifesto__rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 3rem 0;
}
.manifesto__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.manifesto__col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}
.manifesto__col p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--navy-3);
}
.manifesto__cta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.manifesto__cta-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ====================================
   CLOSING (Traders + Education)
   ==================================== */
.closing {
  padding: var(--space-xl) 4rem;
  background: var(--navy);
  color: var(--ivory);
}
.closing__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.closing__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 4rem;
}
.closing__eyebrow {
  color: var(--gold) !important;
  display: block;
  margin-bottom: 1rem;
}
.closing__headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.closing__body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(248, 244, 239, 0.6);
  max-width: 50ch;
  margin-bottom: 2rem;
}
.closing__trader-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(184, 147, 90, 0.2);
  padding-left: 2.5rem;
}
.trader-step {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(248, 244, 239, 0.06);
}
.trader-step:last-child { border-bottom: none; }
.trader-step__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  padding-top: 0.2rem;
}
.trader-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}
.trader-step p {
  font-size: 0.85rem;
  color: rgba(248, 244, 239, 0.5);
  line-height: 1.6;
}
.closing__rule {
  height: 1px;
  background: rgba(184, 147, 90, 0.15);
  margin-bottom: 4rem;
}
.closing__edu {
  padding-top: 0;
}
.closing__edu-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 3rem;
  max-width: 45ch;
}
.edu-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(184, 147, 90, 0.15);
}
.edu-tier {
  background: var(--navy-2);
  padding: 3rem 2.5rem;
  transition: background 0.2s;
}
.edu-tier:hover { background: var(--navy-3); }
.edu-tier--elite { background: rgba(184, 147, 90, 0.06); }
.edu-tier__badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(248, 244, 239, 0.15);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.5rem;
}
.edu-tier__badge--gold {
  background: rgba(184, 147, 90, 0.3);
  color: var(--gold-lt);
}
.edu-tier__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.edu-tier__desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(248, 244, 239, 0.55);
  margin-bottom: 2rem;
}
.edu-tier__link {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.edu-tier__link:hover { color: var(--gold-lt); }

/* ====================================
   FOOTER
   ==================================== */
.footer {
  padding: 3rem 4rem 2.5rem;
  background: var(--navy-2);
  border-top: 1px solid rgba(184, 147, 90, 0.1);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ivory);
}
.footer__sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__tagline {
  font-size: 0.8rem;
  color: rgba(248, 244, 239, 0.35);
  letter-spacing: 0.04em;
}
.footer__rule {
  height: 1px;
  background: rgba(248, 244, 239, 0.06);
  margin: 0.5rem 0;
}
.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__link {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 244, 239, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--ivory); }
.footer__disclaimer {
  font-size: 0.72rem;
  line-height: 1.65;
  color: rgba(248, 244, 239, 0.25);
  max-width: 75ch;
}
.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(248, 244, 239, 0.3);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { padding: 1.1rem 2rem; }
  .nav__links { gap: 1.25rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 2rem 3.5rem; }
  .hero__stat-block { border-left: none; padding-left: 0; border-top: 1px solid rgba(184, 147, 90, 0.25); padding-top: 2rem; }
  .hero__stat { padding: 1.2rem 0; }
  .services { padding: 5rem 2rem; }
  .services__grid { grid-template-columns: 1fr; }
  .manifesto { padding: 5rem 2rem; }
  .manifesto__cols { grid-template-columns: 1fr; gap: 2rem; }
  .closing { padding: 5rem 2rem; }
  .closing__top { grid-template-columns: 1fr; gap: 3rem; }
  .edu-tiers { grid-template-columns: 1fr; }
  .footer { padding: 2.5rem 2rem; }
}