* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----------------------------- */
/* COLOR VARIABLES               */
/* ----------------------------- */

:root {
  /* Primary Colors */
  --primary-yellow: hsl(55, 100%, 60%);
  --primary-magenta: hsl(330, 100%, 85%);
  --primary-cyan: hsl(195, 90%, 50%);

  /* Secondary Colors */
  --secondary-magenta: hsl(330, 100%, 75%);
  --secondary-yellow: hsl(45, 100%, 60%);
  --secondary-green: hsl(95, 90%, 35%);
  --secondary-cyan: hsl(220, 70%, 50%);

  /* Tertiary Colors */
  --tertiary-orange: hsl(40, 100%, 50%);
  --tertiary-green: hsl(120, 90%, 25%);
  --tertiary-violet: hsl(275, 50%, 50%);

  /* Neutral Colors */
  --gray-100: hsl(0, 0%, 100%);
  --gray-150: hsl(0, 0%, 90%);
  --gray-350: hsl(0, 0%, 85%);
  --gray-650: hsl(0, 0%, 40%);
  --gray-900: hsl(0, 0%, 15%);

  /* Semantic Colors */
  --text-primary: var(--gray-900);
  --background-primary: var(--gray-100);
}

body {
    font-size: 1rem;
    font-family: "Bricolage Grotesque", sans-serif;
    line-height: 2rem;
    color: var(--text-primary);
    background: var(--background-primary);
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Hero Section */
.hero-cs {
    padding: 2.5rem 0;
    text-align: left;
    color: var(--gray-900);
    background: var(--primary-yellow);
    border-radius: 1.5rem 1.5rem 0 0;
}

.cs-mercari-rebrand .hero-cs,
.cs-mercari-rebrand .overview,
.cs-mercari-rebrand .body-content-color-carry-over {
    background-color: var(--tertiary-violet);
    color: var(--gray-100);
}

.hero-cs h1 {
    font-size: 2.5rem;
    font-weight: 800;
    font-style: normal;
    line-height: 2.6875rem;
    max-width: 800px;
}

.hero-cs .subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    font-style: normal;
}

/* Overview Section */
.overview {
    padding: 0 0 2.5rem 0;
    background:var(--primary-yellow);
}

.overview h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.overview-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: none;
    align-items: center;
}

.overview-item {
    background-color: var(--primary-cyan);
    color: var(--gray-900);
    max-width: 21rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    border-radius: 1.5rem;
}

.overview-item h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    font-style: normal;
    color: var(--gray-100);
}

.overview-item p {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.5rem;
}

.overview-item li {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-primary);
    list-style-position: outside;
    margin: 0 0;
}

.overview-item:has(ul) {
  gap: .5rem;
}

/* Body Content */

.body-content-color-carry-over {
    background-color: var(--primary-yellow);
}

.body-content-bg {
    background-color: var(--gray-100);
    width: 100%;
    border-radius: 1.5rem 1.5rem 0 0;
}

.body-content {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    padding-inline: 1.25rem;
    gap: 1.5rem;                /* 24px vertical gap */
    padding-block: 2.5rem;      /* 40px top/bottom */
}

.body-content h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    color: var(--text-primary);
    font-size: 2.25rem;
    font-weight: 700;
    font-style: normal;
    line-height: 2.5rem;
    margin: 1rem 0 1rem 0;
}

.body-content h2:first-child {
    margin-top: 0;
}

.body-content h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    font-style: normal;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.highlight-box h3 {
    margin: 1rem 0 1rem 0;
}

.body-content p {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-primary);
}

.body-content p.intro {
    font-size: 1.5rem;
}

.body-content ul,
.body-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.body-content .img-cap {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: var(--gray-650);
    border-left: var(--gray-150) solid 4px;
    padding-left: 1rem;
}

.figure {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.body-content li {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.ol-alpha {
    list-style-type: lower-alpha;
}

.highlight-box {
    background-color: var(--gray-150);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 1.5rem;
}

.highlight-box h4 {
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.highlight-box + .highlight-box {
  margin-top: 0;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.outcome-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.outcome-item h4 {
    color: #2A5C8B;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.bottom-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--primary-cyan);
    border-radius: 1.5rem 1.5rem 0 0;
    padding: 3rem 0;
    margin-top: 4rem;
}

.bottom-nav button {
    background-color: var(--primary-yellow);
    color: var(--gray-900)
}

/* ----------------------------------------------------------------- */
/* ///// ///// ///// MEDIA QUERIES (enhancements)  ///// ///// ///// */
/* ----------------------------------------------------------------- */

/* Tablet & up (≥ 760px) */
@media (min-width: 760px) {

.overview-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
}

.overview-item {
    flex:1 1 calc(50% - 1.5rem);
    max-width: calc (50% - 1.5rem);
    padding: 2.5rem;
}

.overview-item h3 {
    font-size: 2rem;
}

.hero-cs {
    padding: 5rem 2.5rem;
}

.hero-cs h1 {
    font-size: 3.75rem;
    line-height: 3.9375rem;
}

.hero-cs .subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
}

.body-content {
    gap: 1.5rem;
    padding-block: 5rem;
}

.body-content h2 {
    margin: 3.25rem 0 1.75rem 0;
    font-size: 2.625rem;
}

.body-content h3 {
    font-size: 1.625rem;
    font-weight: 700;
}

.figure {
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-box {
    padding: 2.5rem;
}

.bottom-nav {
    flex-direction: row;
    justify-content: center;
    padding: 6rem 0;
}

}