*,
*::before,
*::after {
  box-sizing: border-box;
}

/* === COLOR SYSTEM (inspo: warm retro Cheri mockup) === */
:root {
  --cheri-bg: #f5ebdd;           /* overall page background */
  --cheri-paper: #fff7ee;        /* main card/hero background */
  --cheri-paper-alt: #f2dfce;    /* slightly darker band sections */
  --cheri-brown: #241511;        /* deep chocolate */
  --cheri-brown-soft: #2f1a14;
  --cheri-red: #b43b3d;          /* cherry */
  --cheri-coral: #f28a63;
  --cheri-mustard: #ffcc47;
  --cheri-pink: #f59aa8;
  --cheri-text: #261813;
  --cheri-muted: #7a6053;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fdf3e7 0%, var(--cheri-bg) 45%, #f1e0d0 100%);
  color: var(--cheri-text);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* TYPOGRAPHY OVERRIDES */

h1,
h2,
.logo-text {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", sans-serif;
}

/* GENERIC LAYOUT WRAPPERS */

.hero,
.section,
.footer {
  padding-inline: clamp(1.5rem, 7vw, 5rem);
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 235, 221, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.5rem, 7vw, 5rem);
  border-bottom: 1px solid rgba(164, 134, 113, 0.3);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  cursor: pointer;
}

.logo-mark-circle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;              /* crop to a circle */
  background: transparent;       /* let the favicon colors show */
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.nav nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  opacity: 0.8;
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(164, 134, 113, 0.5);
  background: rgba(255, 247, 238, 0.9);
  font-size: 0.86rem;
}

/* HERO */

.hero {
  padding-block: 4.5rem 4rem;
  background: var(--cheri-paper);
  position: relative;
  overflow: hidden;
}

/* big abstract background shapes */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: 0;
}

.hero::before {
  width: 420px;
  height: 260px;
  background: var(--cheri-coral);
  left: -6rem;
  top: 5rem;
}

.hero::after {
  width: 520px;
  height: 320px;
  background: var(--cheri-red);
  right: -6rem;
  top: 2.2rem;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: clamp(2.2rem, 5vw, 3.6rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 560px;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cheri-muted);
}

.hero-text h1 {
  font-size: clamp(2.7rem, 4.3vw, 3.7rem);
  line-height: 1.05;
  margin: 0.6rem 0 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cheri-mustard);
}

.hero-micro {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  color: var(--cheri-text);
  font-weight: 500;
}

.hero-body {
  max-width: 32rem;
  color: var(--cheri-text);
  font-size: 0.98rem;
  margin-top: 0.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  background: var(--cheri-brown);
  color: #fff7ee;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(36, 21, 17, 0.5);
  transform: translateY(0);
  transition: box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.primary-btn:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(36, 21, 17, 0.7);
}

.ghost-btn {
  padding: 0.82rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(164, 134, 113, 0.7);
  background: rgba(255, 247, 238, 0.85);
  color: var(--cheri-brown);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ghost-btn:hover {
  background: #ffeede;
  border-color: rgba(164, 134, 113, 1);
  transform: translateY(-1px);
}

.hero-sub {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--cheri-muted);
}

/* HERO VISUAL – stylised cards to mimic abstract shapes */

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.photo-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
}

.photo-card {
  position: absolute;
  inset: 0;
  border-radius: 1.8rem;
  padding: 1.4rem 1.5rem;
  color: #fff7ee;
  box-shadow: 0 22px 60px rgba(36, 21, 17, 0.65);
  border: 1px solid rgba(255, 247, 238, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  font-size: 0.9rem;
}

.card-1 {
  background: var(--cheri-red);
  transform: translate(-14%, -10%) rotate(-6deg);
}

.card-2 {
  background: var(--cheri-coral);
  transform: translate(16%, 4%) rotate(6deg);
}

.card-3 {
  background: var(--cheri-brown-soft);
  transform: translate(-3%, 20%) rotate(-2deg);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 247, 238, 0.85);
  background: rgba(0, 0, 0, 0.14);
}

.chip.green,
.chip.purple {
  border-color: rgba(255, 247, 238, 0.85);
  background: rgba(0, 0, 0, 0.18);
  color: #fff7ee;
}

.score {
  font-size: 1.4rem;
  font-weight: 600;
}

.big-number {
  font-size: 2.1rem;
  font-weight: 700;
}

.meta {
  font-size: 0.82rem;
  color: #ffefe1;
}

/* SECTIONS */

.section {
  padding-block: 4.2rem;
  background: var(--cheri-paper);
}

.section.alt {
  background: var(--cheri-paper-alt);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 2rem auto;
  text-align: left;
}

.section-header.narrow {
  max-width: 520px;
}

/* Centered header option for sections */
.section-header.center {
  text-align: center;
}

.section-header.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--cheri-brown);
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 0.98rem;
  color: var(--cheri-muted);
}

/* SIMPLE EXPLAINER SECTION */
.explainer {
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(164, 134, 113, 0.35);
}

/* Align explainer like hero */
.explainer .section-header {
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.explainer .section-header h2 {
  font-size: 2.1rem;
}

.explainer .section-header .section-sub {
  max-width: 640px;
  line-height: 1.6;
}

/* HOW IT WORKS */

.steps {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.step {
  background: #fff9f3;
  border-radius: 1.4rem;
  padding: 1.6rem;
  border: 1px solid rgba(188, 154, 132, 0.6);
  box-shadow: 0 14px 40px rgba(36, 21, 17, 0.13);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(36, 21, 17, 0.18);
  border-color: rgba(36, 21, 17, 0.5);
}

.step h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--cheri-brown);
}

.step p {
  margin: 0;
  color: var(--cheri-text);
}

/* ABOUT / WHY SECTION */

.about-text {
  max-width: 640px;
  margin: 0 auto;
  color: var(--cheri-text);
  line-height: 1.7;
  text-align: center;
}

/* WHAT CHERI SCORES */

.score-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.score-item {
  background: #fff9f3;
  border-radius: 1.4rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(188, 154, 132, 0.7);
  box-shadow: 0 14px 40px rgba(36, 21, 17, 0.13);
}

.score-item h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--cheri-brown);
}

.score-item p {
  margin: 0;
  color: var(--cheri-text);
}

/* FEATURES */

.features-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: #fff9f3;
  border-radius: 1.4rem;
  padding: 1.6rem;
  border: 1px solid rgba(188, 154, 132, 0.7);
  box-shadow: 0 14px 40px rgba(36, 21, 17, 0.13);
}

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.feature h3 {
  margin: 0 0 0.4rem 0;
  color: var(--cheri-brown);
}

.feature p {
  margin: 0;
  color: var(--cheri-text);
}

/* SOCIAL PROOF */

.quotes {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.quote-card {
  background: #fff9f3;
  border-radius: 1.4rem;
  padding: 1.7rem 1.8rem;
  border: 1px solid rgba(188, 154, 132, 0.8);
  box-shadow: 0 14px 40px rgba(36, 21, 17, 0.13);
}

.quote-text {
  margin: 0 0 0.8rem 0;
  color: var(--cheri-text);
}

.quote-name {
  margin: 0;
  font-size: 0.9rem;
  color: var(--cheri-muted);
}

/* FAQ */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: #fff9f3;
  border-radius: 1.2rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(188, 154, 132, 0.8);
}

.faq-item h3 {
  margin: 0 0 0.4rem 0;
  color: var(--cheri-brown);
}

.faq-item p {
  margin: 0;
  color: var(--cheri-text);
}

/* Align FAQ header with FAQ cards */
#faq .section-header {
  max-width: 780px;
  margin: 0 auto 2rem auto;
  text-align: left;
}

/* WAITLIST – dark band like "CHOOSE WITH PURPOSE" */

#waitlist.section {
  background: var(--cheri-brown);
  color: #fff3ea;
}

#waitlist .section-header {
  text-align: center;
}

#waitlist h2 {
  font-size: 2.3rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#waitlist .section-sub {
  color: #fbe0d5;
}

.waitlist-form {
  max-width: 480px;
  margin: 1.8rem auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.waitlist-form input {
  flex: 1 1 200px;
  padding: 0.85rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 237, 213, 0.9);
  background: #3a2519;
  color: #fff7ee;
  outline: none;
}

.waitlist-form input::placeholder {
  color: #e5c7b5;
}

.waitlist-form button {
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #fff7ee;
  color: var(--cheri-brown);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transition: box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.waitlist-form button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.small {
  font-size: 0.8rem;
  color: #f4cdc0;
  margin-top: 0.75rem;
  text-align: center;
}

/* FOOTER */

.footer {
  padding-block: 2.4rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--cheri-muted);
  border-top: 1px solid rgba(164, 134, 113, 0.4);
  background: var(--cheri-paper);
}

.footer-main {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.footer-tagline {
  margin: 0 0 0.3rem 0;
}

.footer-meta {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.footer a {
  opacity: 0.8;
  transition: opacity 140ms ease, transform 140ms ease;
}

.footer a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-muted {
  opacity: 0.6;
}

/* GENERIC PAGE LAYOUTS FOR SUBPAGES */

.page-shell {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #fdf3e7 0%, var(--cheri-bg) 45%, #f1e0d0 100%);
}

.page-main {
  padding: 4.5rem clamp(1.5rem, 7vw, 5rem) 5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.page-title {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
  color: var(--cheri-brown);
}

.page-intro {
  font-size: 0.98rem;
  color: var(--cheri-muted);
  max-width: 640px;
  margin-bottom: 2.4rem;
}

/* Card-like sections on subpages */
.page-section {
  margin-bottom: 1.8rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.25rem;
  background: #fff9f3;
  border: 1px solid rgba(188, 154, 132, 0.8);
  box-shadow: 0 18px 45px rgba(36, 21, 17, 0.14);
}

.page-section:first-of-type {
  background: #fff5ee;
}

.page-section h2 {
  font-size: 1.3rem;
  margin: 0 0 0.4rem 0;
  color: var(--cheri-brown);
}

.page-section h3 {
  font-size: 1.02rem;
  margin: 1rem 0 0.35rem 0;
  color: var(--cheri-brown);
}

.page-section p,
.page-section li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cheri-text);
}

.page-section ul {
  padding-left: 1.2rem;
  margin: 0.3rem 0 0.8rem 0;
}

/* Small muted notes at the bottom of a page */
.page-muted {
  font-size: 0.85rem;
  color: var(--cheri-muted);
  margin-top: 2rem;
  max-width: 640px;
}

/* HERO MICRO DISCLOSURE */
.hero-disclosure {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--cheri-muted);
  max-width: 32rem;
}

/* FOOTER AFFILIATE NOTE */
.footer-affiliate-note {
  margin-top: 0.6rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0.5rem;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1.25rem;
  }

  .photo-stack {
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .nav nav {
    display: none;
  }

  .hero,
  .section,
  .footer {
    padding-inline: 1.5rem;
  }

  .hero::before,
  .hero::after {
    display: none; /* simpler mobile */
  }
}
