/* ==========================================================================
   How to Launder Money — howtolaunder.com
   Clean static rebuild (originally WordPress/Elementor)
   Design tokens extracted from the live Elementor kit.
   ========================================================================== */

:root {
  --color-primary: #000000;      /* headings, dark sections */
  --color-secondary: #0066BF;    /* links, eyebrows */
  --color-text: #1C1C1C;         /* body text */
  --color-accent: #879BA1;       /* gray-blue accent */
  --color-white: #FFFFFF;
  --color-offwhite: #FAFAFA;
  --color-offwhite-2: #F9F9F9;
  --color-hover-blue: #5190E8;
  --color-border: #E8EDED;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Lato", sans-serif;
  --container: 1140px;
}

/* --------------------------------------------------------------------------
   Reset (mirrors Hello Elementor reset values used on the live site)
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--color-white);
  color: #807F7F;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: inherit;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  margin-block-start: .5rem;
  margin-block-end: 1rem;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }

p { margin-block-start: 0; margin-block-end: .9rem; }
ol, ul { margin-bottom: 1.5em; }

a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-hover-blue); }

img { max-width: 100%; height: auto; border: 0; display: inline-block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #eee;
  color: #333;
  padding: 12px 24px;
  z-index: 100000;
}
.skip-link:focus { left: 5px; top: 5px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header — sticky translucent pill
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1rem;
  margin-bottom: -11rem; /* lets the hero slide underneath */
}

.site-header .header-pill {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000000AD;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 99px;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, .5);
  padding-left: 1.4rem;
}

.site-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.1px;
  line-height: 1.2;
}
.site-title a { color: var(--color-white); }
.site-title a:hover, .site-title a:focus { color: var(--color-accent); }

.site-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 13px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2em;
  letter-spacing: 0;
  color: var(--color-white);
}
.site-nav a:hover, .site-nav a:focus { color: var(--color-accent); }
.site-nav a[aria-current="page"] { color: var(--color-offwhite); }

.buy-now {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.6em;
  letter-spacing: .5px;
  color: var(--color-white);
  padding: 12px 24px;
}
.buy-now:hover, .buy-now:focus { color: var(--color-accent); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .25em;
  margin-left: auto;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--color-white);
}
.menu-toggle svg { width: 1em; height: 1em; fill: var(--color-white); }
.menu-toggle:hover svg, .menu-toggle:focus svg { fill: var(--color-accent); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   Generic section framing
   -------------------------------------------------------------------------- */
.section { padding: 4rem; }
.section > .container { max-width: var(--container); margin-inline: auto; }

.eyebrow {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5em;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
}

.display-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 800;
  text-transform: capitalize;
  line-height: 1.1em;
  letter-spacing: -3px;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Home — hero
   -------------------------------------------------------------------------- */
.hero {
  background-image: linear-gradient(163deg, var(--color-text) 0%, var(--color-accent) 100%);
  padding: 10rem 4rem 2rem;
}
.hero .container {
  display: flex;
  justify-content: space-between;
}
.hero-copy {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.3em;
  letter-spacing: -3px;
  color: var(--color-white);
}
.hero-subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2em;
  color: var(--color-white);
}
.hero-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-white);
}
.hero-badge img { width: 161px; }
.hero-cover { width: 50%; }
.hero-cover img {
  width: 352px;
  box-shadow: 59px 29px 77px 9px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------------------------
   Home — stats counters
   -------------------------------------------------------------------------- */
.stats {
  background-color: var(--color-primary);
  padding: 2rem 0;
}
.stats .container {
  max-width: 1000px;
  display: flex;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.counter {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
}
.counter-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 2.5;
  margin: 0;
  color: var(--color-accent);
}
.counter-number-wrapper {
  display: flex;
  font-size: 69px;
  font-weight: 600;
  line-height: 1;
  font-family: var(--font-heading);
  color: var(--color-white);
}
.counter-prefix { flex-grow: 1; text-align: end; white-space: pre-wrap; }
.counter-suffix { flex-grow: 1; text-align: start; white-space: pre-wrap; }

/* --------------------------------------------------------------------------
   Home — overview / chapters
   -------------------------------------------------------------------------- */
.overview .container { display: flex; flex-direction: column; align-items: center; }
.overview-lede {
  padding-bottom: 6rem;
}
.overview-lede .cols-2 {
  columns: 2;
  column-gap: 80px;
}
.lede-large {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-primary);
}
.lede-large h2, .lede-large h3 { break-after: avoid; }

.overview-alt { background-color: var(--color-offwhite); }
.overview-alt .cols-2 {
  columns: 2;
  column-gap: 80px;
}
.lede-regular {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
}

.chapters .container {
  max-width: calc(var(--container) * .75);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chapters-list {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-primary);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   Buy section (shared on every page)
   -------------------------------------------------------------------------- */
.buy { padding: 6rem 0; display: flex; justify-content: center; }
.buy .container { width: 80%; max-width: var(--container); }
.buy-title { padding-bottom: 2rem; }
.buy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row;
}
.buy-link-wrap { padding: 0 1rem 1rem; }
.buy-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-accent);
  fill: var(--color-accent);
  border-bottom: 1px solid;
  padding: 12px 24px;
}
.buy-link svg { width: 1em; height: 1em; fill: inherit; flex-shrink: 0; }
.buy-link:hover, .buy-link:focus { color: var(--color-hover-blue); fill: var(--color-hover-blue); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-primary);
  padding-top: 2rem;
}
.footer-menus {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
}
.footer-menus > nav { width: 50%; display: flex; align-items: center; padding: 10px; }
.footer-menu-right { justify-content: flex-end; }
.footer-menus ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.footer-menus li { margin-inline: 10px; }
.footer-menus a {
  display: block;
  padding: 0 5px;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 400;
  color: var(--color-white);
}
.footer-menus a:hover, .footer-menus a:focus { color: var(--color-secondary); }
.footer-menus a[aria-current="page"] { color: var(--color-white); }

.footer-copyright {
  padding: 2rem 1rem 1rem;
}
.footer-copyright p {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 500;
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Authors page
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 16rem 0 4rem;
  display: flex;
  justify-content: center;
}
.page-hero .container { width: 80%; }

.author {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem;
}
.author-alt { background-color: var(--color-offwhite-2); }
.author-photo { width: 40%; }
.author-photo img { position: relative; z-index: 1; }
.author-bio {
  width: 60%;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
}
.author-name {
  margin: 0;
  padding-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 800;
  text-transform: capitalize;
  line-height: 1.1em;
  letter-spacing: -.5px;
  color: var(--color-primary);
}
.author-role {
  margin: 0;
  padding-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  text-transform: capitalize;
  line-height: 1.3em;
  letter-spacing: -.5px;
  color: var(--color-accent);
}
.author-lede {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-primary);
  padding-left: 15px;
}
.author-more {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  padding-left: 15px;
}
.author-cta-wrap { padding: 1rem; }
.author-cta {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  background-color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-white);
  fill: var(--color-white);
  border-radius: 99px;
  padding: 20px 40px;
  transition: background-color .3s;
}
.author-cta svg { width: 1em; height: 1em; fill: inherit; }
.author-cta:hover, .author-cta:focus { background-color: var(--color-secondary); color: var(--color-white); }

/* --------------------------------------------------------------------------
   Terms of Use page
   -------------------------------------------------------------------------- */
.terms-hero {
  padding: 4rem;
  display: flex;
  justify-content: center;
}
.terms-hero .container {
  display: flex;
  justify-content: space-between;
}
.terms-hero-title-wrap { width: 80%; }
.terms-hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--color-primary);
}
.terms-hero-intro {
  width: 60%;
  display: flex;
  justify-content: flex-end;
  padding-left: 2rem;
}
.terms-hero-intro .inner {
  align-self: flex-end;
  padding-left: 15px;
  font-family: var(--font-body);
  color: var(--color-text);
}

.terms-body {
  display: flex;
  justify-content: center;
  padding: 0 1rem 4rem;
}
.terms-body .container {
  max-width: 666px;
  font-family: var(--font-body);
  color: var(--color-text);
}
.terms-body h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-block-start: 2rem;
  margin-block-end: .75rem;
}
.terms-body ul { padding-left: 1.25rem; }
.terms-body li { margin-bottom: .4rem; }

/* --------------------------------------------------------------------------
   Press & Media page
   -------------------------------------------------------------------------- */
.press-hero {
  padding: 16rem 0 2rem;
  display: flex;
  justify-content: center;
}
.press-hero .container { width: 80%; }
.press-logos {
  padding: 2rem 4rem;
}
.press-logos .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.press-logos img { width: 120px; filter: grayscale(100%); opacity: .75; }

.press-item {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding: 4rem;
}
.press-item:nth-of-type(even) { background-color: var(--color-offwhite-2); }
.press-media-col { width: 40%; }
.press-media-col img { position: relative; z-index: 1; }
.press-media-col .press-caption {
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--color-text);
  padding-top: .5rem;
}
.press-detail {
  width: 60%;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
}
.press-date {
  margin: 0;
  padding-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  text-transform: capitalize;
  line-height: 1.3em;
  letter-spacing: -.5px;
  color: var(--color-accent);
}
.press-title {
  margin: 0;
  padding-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2em;
  letter-spacing: -.5px;
  color: var(--color-primary);
}
.press-summary {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  padding-left: 15px;
}
.press-ctas { display: flex; flex-wrap: wrap; }

/* Gallery */
.press-gallery { padding: 2rem 4rem 4rem; }
.press-gallery .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.press-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page {
  padding: 16rem 2rem 6rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive — tablet (<=1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container { max-width: 1024px; }

  .hero {
    padding: 14rem 2rem 2rem;
  }
  .hero .container { flex-direction: column; justify-content: flex-end; }
  .hero-copy { width: 100%; gap: 0; padding-bottom: 1rem; }
  .hero-title { padding-bottom: 1rem; }
  .hero-subtitle { padding-top: 1rem; }
  .hero-text { padding-top: 1rem; }
  .hero-badge { text-align: center; }
  .hero-cover { width: 100%; }

  .section { padding: 2rem 1rem; }
  .overview-lede .cols-2 { padding-top: 1rem; }
  .lede-large { font-size: 1.125rem; }
  .chapters-list { font-size: 1.125rem; }
  .display-title { font-size: 4rem; }

  .buy { padding: 2rem 1rem; }
  .buy .container { width: 100%; }
  .buy-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-menus { flex-direction: column; }
  .footer-menus > nav { width: 100%; justify-content: center; }

  .author { flex-direction: column; padding: 2rem 1rem; }
  .author-photo { width: 100%; }
  .author-bio { width: 100%; padding: 2rem 0 0; }
  .author-name { font-size: 4rem; padding-bottom: 0; }
  .author-role { padding-bottom: 0; }
  .author-lede { font-size: 1.125rem; padding: 1rem 0 0; }
  .author-more { padding: 1rem 0 0; }

  .terms-hero { padding: 3rem 2rem 2rem; }
  .terms-hero .container { flex-direction: column; }
  .terms-hero-title-wrap { width: 100%; }
  .terms-hero-intro { width: 100%; padding: 1rem 0 0; justify-content: flex-start; }

  .press-item { flex-direction: column; padding: 2rem 1rem; }
  .press-media-col { width: 100%; }
  .press-detail { width: 100%; padding: 2rem 0 0; }
  .press-gallery .container { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Responsive — mobile (<=767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .site-header { padding: 0 0 0 1rem; }
  .site-header .header-pill { padding: .5rem; }
  .site-title { padding-left: 8px; }

  .menu-toggle { display: flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    margin-top: 9px;
    background-color: var(--color-white);
    border: 1px solid var(--color-accent);
    border-radius: 25px;
    overflow: hidden;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav li:not(:last-child) { border-bottom: 1px solid var(--color-accent); }
  .site-nav a { color: var(--color-primary); padding: 30px; }
  /* white active color is invisible on the white dropdown — use site blue */
  .site-nav a[aria-current="page"] { color: var(--color-secondary); }
  .buy-now { letter-spacing: 0; padding: 8px; }

  .hero { min-height: 65vh; padding: 14rem 1rem 2rem; }
  .hero-title { font-size: 40px; }

  /* stack the three stats vertically like the original site */
  .stats { padding: 2rem 1rem; }
  .stats .container { flex-direction: column; gap: 1.5rem; }
  .stat { width: 100%; }

  .section { padding: 3rem 1rem 2rem; }
  .overview-lede .cols-2, .overview-alt .cols-2 { columns: 1; }
  .lede-large { font-size: 1.125rem; }
  .display-title { font-size: 12.3vw; letter-spacing: -1px; }

  .buy { padding: 3rem 0 2rem; }
  .buy-grid { grid-template-columns: repeat(1, 1fr); }

  .site-footer { padding: 1rem 0; }
  .footer-menus > nav { padding: 0; }
  .footer-menus li { margin-inline: 0; }
  .footer-menus a { padding: 10px; }
  .footer-copyright { padding: 1rem; }
  .footer-copyright p { text-align: start; font-size: 13px; }

  .author { padding: 3rem 1rem 2rem; }
  .author-name { font-size: 12.3vw; padding-bottom: 1rem; }

  .page-hero { padding: 14rem 1rem 2rem; }
  .press-hero { padding: 14rem 1rem 1rem; }
  .terms-hero { padding: 3rem 1rem 2rem; }
  .press-item { padding: 3rem 1rem 2rem; }
  .press-gallery { padding: 1rem; }
  .press-gallery .container { grid-template-columns: 1fr; }
  .press-logos { padding: 1rem; }
}
