/* Joyful Clarity — mockup-aligned design system */
:root {
  --bg: #fdf9f3;
  --bg-wash: #f5ebe3;
  --text: #3d2e26;
  --text-secondary: #6b5e52;
  --accent: #c4a07a;
  --cta-bg: #8b5e3c;
  --cta-text: #ffffff;
  --white: #ffffff;
  --footer-dark: #2a1f1a;
  --footer-dark-mid: #352a24;
  --on-dark-muted: rgba(255, 255, 255, 0.88);
  --max: 1100px;
  --pad-y: clamp(3.75rem, 8vw, 6.25rem);
  --radius: 6px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-logo: "Great Vibes", cursive;
  --card-shadow: 0 10px 40px rgba(61, 46, 38, 0.08);
  --intensive-shadow: 0 8px 28px rgba(61, 46, 38, 0.12);
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.25vw + 0.95rem, 1.125rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--text);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cta-bg);
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(100% - 3rem, var(--max));
  }
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 0.65em;
}

h1 {
  font-size: clamp(2.25rem, 3.5vw + 1.25rem, 3rem);
}

h2 {
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.125rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 36rem;
}

.text-primary {
  color: var(--text);
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1.25rem;
}

.mt-2 {
  margin-top: 2rem;
}

/* Watercolor-style wash backgrounds */
.bg-wash-hero {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 70% at 15% 20%, rgba(212, 175, 140, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(200, 170, 130, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(245, 235, 220, 0.6), transparent);
}

.bg-wash-band {
  background-color: var(--bg-wash);
  background-image:
    radial-gradient(ellipse 100% 80% at 30% 40%, rgba(200, 165, 130, 0.25), transparent 55%),
    radial-gradient(ellipse 80% 60% at 70% 60%, rgba(220, 195, 170, 0.2), transparent 50%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 243, 0.96);
  border-bottom: 1px solid rgba(139, 94, 60, 0.1);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas:
    "logo cta toggle"
    "nav nav nav";
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.9rem 0;
}

.logo {
  grid-area: logo;
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.1;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.02em;
}

.btn-header {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cta-text);
  background: var(--cta-bg);
  border-radius: var(--radius);
}

.nav-toggle {
  grid-area: toggle;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav {
  grid-area: nav;
  display: none;
  padding: 0.5rem 0 0.25rem;
}

.nav.is-open {
  display: block;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 0.65rem 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(139, 94, 60, 0.08);
}

@media (min-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav cta";
    gap: 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: block !important;
    padding: 0;
  }

  .nav ul {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav a {
    padding: 0.35rem 0;
    border: none;
    font-size: 0.75rem;
  }
}

/* Sections */
.section {
  padding-block: var(--pad-y);
}

@media (max-width: 639px) {
  .section {
    padding-block: clamp(3.5rem, 12vw, 3.75rem);
  }
}

.section--cream {
  background: var(--bg);
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: linear-gradient(165deg, var(--footer-dark-mid) 0%, var(--footer-dark) 45%, #1f1815 100%);
  color: var(--white);
  position: relative;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 55%);
  pointer-events: none;
}

.section--dark .wrap {
  position: relative;
  z-index: 1;
}

.section--dark h2,
.section--dark p {
  color: var(--on-dark-muted);
}

.section--dark h2 {
  color: #fff;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn--cta {
  background: var(--cta-bg);
  color: var(--cta-text);
}

.btn--cta:hover {
  background: #7a5234;
  color: var(--cta-text);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(61, 46, 38, 0.2);
}

.btn--ghost:hover {
  border-color: var(--cta-bg);
  color: var(--cta-bg);
}

.btn--on-dark {
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
}

.btn--on-dark:hover {
  background: #fff;
  color: var(--text);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 639px) {
  .btn-row .btn {
    width: 100%;
  }
}

/* Narrow text block (CTA, etc.) */
.hero-narrow {
  max-width: 40rem;
  margin-inline: auto;
}

/* Hero split */
.hero-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

.hero-copy .lead {
  max-width: 32rem;
}

.hero-visual {
  position: relative;
  justify-self: center;
  max-width: 380px;
  width: 100%;
  height: min(420px, 58vh);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (min-width: 900px) {
  .hero-visual {
    justify-self: end;
    height: min(480px, 70vh);
    max-width: 400px;
  }
}

/* Centered sections (mockup) */
.section--center .wrap {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.section--center h2 {
  text-align: center;
}

.section--center .list-check {
  text-align: left;
  max-width: 28rem;
  margin-inline: auto;
}

/* Checkmark list */
.list-check {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75em;
  color: var(--text-secondary);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cta-bg);
  font-weight: 700;
  font-size: 1rem;
}

.italic-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--text);
  font-size: 1.125rem;
  margin-top: 1.5rem;
}

/* Transition icons */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
  margin: 2rem auto 0;
  max-width: 28rem;
}

.icon-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 11rem;
}

.icon-pair svg,
.icon-pair .icon-emoji {
  width: 40px;
  height: 40px;
  font-size: 1.75rem;
  line-height: 40px;
}

.tagline-wash {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
  margin-top: 2rem;
}

/* Offer cards */
.offers-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.offer-cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .offer-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
  }
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(139, 94, 60, 0.08);
}

.offer-card h3 {
  font-size: 1.2rem;
  margin-bottom: auto;
  padding-bottom: 1.25rem;
}

.offer-card .btn {
  width: 100%;
  margin-top: 1.25rem;
}

.offer-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--intensive-shadow);
}

/* Legacy offer lines (products / long lists) */
.offer-line {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(61, 46, 38, 0.08);
}

.offer-line:last-of-type {
  border-bottom: none;
}

.offer-line h3 {
  margin-bottom: 0.35em;
  font-size: 1.15rem;
}

.offer-line p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.offer-line .arrow {
  color: var(--cta-bg);
  font-weight: 600;
}

.offer-line--intensive {
  margin-top: 0.5rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--intensive-shadow);
}

.badge-premium {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(196, 160, 122, 0.35);
  border-radius: 4px;
  vertical-align: middle;
}

/* Lists */
.list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-plain li {
  margin-bottom: 0.65em;
  color: var(--text-secondary);
}

.reframe-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.reframe-list li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.5em;
  color: var(--text-secondary);
}

.reframe-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--cta-bg);
  font-weight: bold;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  margin-bottom: 0.75em;
  padding-left: 0;
  color: var(--text-secondary);
}

/* Diagram */
.diagram {
  margin-top: 2rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid rgba(61, 46, 38, 0.08);
  border-radius: var(--radius);
}

.diagram-track {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 0.35rem;
}

.diagram-node {
  flex: 1 1 7rem;
  min-width: 6.5rem;
  max-width: 11rem;
  padding: 1rem 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(196, 160, 122, 0.45);
}

.diagram-node--movement {
  background: rgba(196, 160, 122, 0.2);
  border-color: var(--accent);
}

.diagram-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cta-bg);
  font-size: 1.25rem;
  font-weight: 600;
  flex: 0 0 auto;
  padding: 0 0.15rem;
}

.diagram-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-secondary);
}

/* Product / coaching blocks */
.product-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(61, 46, 38, 0.08);
}

.product-card:last-child {
  border-bottom: none;
}

.product-card--intensive {
  margin: 1rem 0;
  padding: 1.5rem 1.25rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--intensive-shadow);
}

.product-includes {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.product-includes li {
  margin-bottom: 0.35em;
}

.coach-option {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(61, 46, 38, 0.08);
}

.coach-option:last-child {
  border-bottom: none;
}

.coach-option--intensive {
  margin-bottom: 1rem;
  padding: 1.5rem 1.25rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--intensive-shadow);
  border-bottom: 2px solid var(--accent);
}

/* Forms */
.form-fields {
  max-width: 28rem;
  margin-top: 2rem;
}

.form-fields label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-fields input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid rgba(61, 46, 38, 0.2);
  border-radius: var(--radius);
  background: var(--white);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem;
  background: rgba(196, 160, 122, 0.22);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
}

.form-success.is-visible {
  display: block;
}

.hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hint code {
  font-size: 0.85em;
}

.calendly-wrap {
  min-height: 640px;
  margin-top: 1rem;
}

.calendly-placeholder {
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  padding: 2.25rem 0;
  background: var(--bg);
  border-top: 1px solid rgba(139, 94, 60, 0.1);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.footer-nav a {
  font-weight: 500;
  text-decoration: none;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-signup {
  text-align: center;
  margin: 0;
}

.footer-signup a {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

.final-cta-actions {
  margin-top: 1.75rem;
}

.section--dark .copyright--on-dark {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  margin-top: 2.5rem;
}

/* Email sequence */
.email-block {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(61, 46, 38, 0.1);
}

.email-block h2 {
  font-size: 1.35rem;
}

.email-body {
  color: var(--text-secondary);
}

.email-body p {
  margin-bottom: 0.85em;
}
