/* ============================================
   Assess with Lauren — design tokens
   ============================================ */
:root {
  --cream: #FFF8EC;
  --cream-deep: #FBEFD8;
  --ink: #22333B;
  --ink-soft: #4A5A61;
  --sun: #FFC857;
  --sun-deep: #F2A93B;
  --teal: #1B998B;
  --teal-deep: #157A6F;
  --plum: #4A2545;
  --coral: #F2542D;
  --line: rgba(34, 51, 59, 0.12);
  --shadow: 6px 6px 0 rgba(34, 51, 59, 0.10);
  --radius: 22px;
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { max-width: 62ch; }

a { color: var(--teal-deep); }

img, svg { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow-none { display: none; } /* placeholder to remind: no tracked-out eyebrows used */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 4px 4px 0 var(--plum);
}
.btn-primary:hover { background: var(--teal-deep); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-small {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
nav.main-nav a:hover { color: var(--teal-deep); }

.cart-btn {
  position: relative;
  background: var(--plum);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 18px 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}
.cart-count {
  background: var(--sun);
  color: var(--ink);
  border-radius: 100px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .site-header .wrap { position: relative; }
  nav.main-nav {
    display: none;
  }
  nav.main-nav.open-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    padding: 18px 24px;
    box-shadow: 0 10px 18px rgba(34, 51, 59, 0.10);
  }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 2px solid var(--ink);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
  }
}

/* Hero */
.hero {
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  aspect-ratio: 1 / 0.85;
}
.hero-portrait {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sun), var(--teal));
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-trust span { white-space: nowrap; }
.grade-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 700px) { .grade-picker { grid-template-columns: 1fr; } }
.grade-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.grade-card h3 { margin-top: 0; }
.grade-card p { color: var(--ink-soft); }
.final-cta {
  text-align: center;
}
.final-cta .hero-actions { justify-content: center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
}

/* Section rhythm */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }

.band-cream { background: var(--cream); }
.band-deep { background: var(--cream-deep); }
.band-ink {
  background: var(--ink);
  color: var(--cream);
}
.band-ink h2, .band-ink h3 { color: var(--cream); }
.band-ink p { color: rgba(255,248,236,0.78); }

/* Subject cards */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .subject-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .subject-grid { grid-template-columns: 1fr; } }

.subject-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.subject-card .icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}
.subject-card p { font-size: 0.96rem; color: var(--ink-soft); }

/* Shop */
.phase-tabs {
  display: inline-flex;
  gap: 6px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 5px;
  margin-bottom: 34px;
}
.phase-tab {
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  color: var(--ink);
}
.phase-tab[aria-selected="true"] {
  background: var(--sun);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
}
.product-badge {
  align-self: flex-start;
  background: var(--teal);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.product-card h3 { margin-bottom: 2px; }
.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--plum);
  margin-top: auto;
}
.product-card form { margin-top: 8px; }

/* Bundles: a full-width row above the single assessments */
.bundle-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .bundle-row { grid-template-columns: 1fr; } }
.product-card--bundle { background: #fffaf0; }
.product-card--bundle .product-badge { background: var(--plum); }
.bundle-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.bundle-list li { margin-bottom: 3px; }
.bundle-was { font-size: 0.95rem; color: var(--ink-soft); text-decoration: line-through; margin-left: 6px; }
.bundle-save { font-size: 0.9rem; font-weight: 700; color: var(--teal-deep); }

.product-details {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.product-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--teal-deep);
}
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::before {
  content: "+";
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}
.product-details[open] summary::before { content: "–"; }
.product-details ol {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.product-details ol li { margin-bottom: 5px; }

.phase-panel[hidden] {
  display: none !important;
}

.empty-state {
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--ink-soft);
  grid-column: 1 / -1;
}

.notify-row {
  margin-top: 44px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.notify-row input[type="email"] {
  flex: 1 1 220px;
  padding: 12px 16px;
  border-radius: 100px;
  border: 2px solid var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding-top: 18px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--sun);
  -webkit-text-stroke: 2px var(--ink);
  margin-bottom: 6px;
}
.step p { color: rgba(255,248,236,0.78); font-size: 0.96rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }
.about-portrait {
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: linear-gradient(160deg, var(--sun), var(--teal));
  overflow: hidden;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
}
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; max-width: 320px; } }
.team-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 2px solid var(--ink);
  background: linear-gradient(160deg, var(--sun), var(--teal));
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo--placeholder svg { width: 55%; height: 55%; }
.team-card h3 { margin-bottom: 6px; }
.team-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq-list { max-width: 760px; }
details.faq-item {
  border-bottom: 2px solid var(--line);
  padding: 18px 0;
}
details.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--teal-deep);
  flex-shrink: 0;
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { margin-top: 12px; color: var(--ink-soft); }
.faq-note {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--sun-deep);
  padding-left: 14px;
}

/* Blog teaser */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
}
.blog-card .tag {
  display: inline-block;
  background: var(--sun);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.blog-card p { font-size: 0.94rem; color: var(--ink-soft); }

/* Reviews */
.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.review-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  flex: 1 1 300px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: var(--sun-deep);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.review-quote {
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
  margin: 0 0 14px;
}
.review-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea {
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}

/* Compact field variant, used in the cart checkout drawer where
   vertical space is tight — no visible label line (labels stay
   screen-reader accessible via .visually-hidden). */
.field-compact { margin-bottom: 10px; gap: 0; }

.contact-details {
  background: var(--plum);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-details h3 { color: var(--cream); }
.contact-details a { color: var(--sun); }

/* Footer */
footer {
  border-top: 2px solid var(--ink);
  padding: 34px 0 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer nav a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 18px;
}
.footer-whatsapp {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,51,59,0.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 92vw);
  background: var(--cream);
  border-left: 2px solid var(--ink);
  z-index: 91;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 2px solid var(--ink);
}
.cart-drawer-head button {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-name { font-weight: 600; }
.cart-line-remove {
  background: none;
  border: none;
  color: var(--coral);
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0;
}
.cart-empty { color: var(--ink-soft); padding: 30px 0; text-align: center; }
.cart-footer {
  border-top: 2px solid var(--ink);
  padding: 20px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.cart-footer .btn { width: 100%; justify-content: center; }
.cart-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

.order-banner strong { color: var(--teal-deep); }
.order-banner--error strong { color: var(--coral); }
.order-banner--error { border-color: var(--coral) !important; }
.order-banner [data-download-links]:empty { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}
