/* ============================================================
   Brighter Days Consulting — shared design system
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

/* ---- Design tokens ---- */
:root {
  /* palette */
  --green:        #1C4A3A;
  --green-deep:   #143329;
  --green-soft:   #2C5C4A;
  --terracotta:   #C96B3E;
  --terracotta-deep: #B25731;
  --cream:        #F7F2E9;
  --cream-deep:   #EFE7D8;
  --white:        #FFFFFF;
  --charcoal:     #2A2926;
  --charcoal-soft:#55524C;
  --line:         #E2DACD;
  --line-on-green: rgba(255,255,255,0.16);

  /* type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Type scale ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--terracotta);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--green);
  text-wrap: balance;
}
.display {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.02;
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
em, .it { font-style: italic; }
.serif { font-family: var(--serif); }

.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--charcoal-soft);
  font-weight: 400;
  text-wrap: pretty;
}
p { text-wrap: pretty; }
.muted { color: var(--charcoal-soft); }
.on-green, .on-green h1, .on-green h2, .on-green h3, .on-green h4 { color: var(--white); }
.on-green .lead { color: rgba(255,255,255,0.82); }
.on-green .eyebrow { color: #E8A581; }
.on-green .eyebrow::before { background: #E8A581; }

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section-sm { padding-block: clamp(48px, 6vw, 90px); }
.bg-cream { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-green { background: var(--green); }
.bg-green-deep { background: var(--green-deep); }
.bg-white { background: var(--white); }

.grid { display: grid; gap: clamp(24px, 4vw, 56px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .cols-3.keep-2-tablet { grid-template-columns: 1fr; }
}
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 34px; }
.maxch { max-width: 62ch; }
.maxch-narrow { max-width: 46ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-dark { background: var(--green); color: var(--white); }
.btn-dark:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); }
.on-green .btn-ghost { color: var(--white); border-color: var(--line-on-green); }
.on-green .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 2px;
  transition: gap .18s ease;
}
.textlink:hover { gap: 12px; }
.on-green .textlink { color: #fff; }

/* hand-drawn-feel underline accent */
.mark {
  position: relative;
  white-space: nowrap;
}
.mark::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.08em;
  height: 0.34em;
  background: var(--terracotta);
  opacity: 0.32;
  border-radius: 2px;
  z-index: -1;
}
.mark-it { font-style: italic; color: var(--terracotta); }

/* ---- Sun / brighter-days mark ---- */
.sun { display: inline-block; vertical-align: middle; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: -0.01em;
}
.brand .brand-sub { display: block; font-family: var(--sans); font-size: 9.5px; font-weight:600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta); margin-top: 2px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  position: relative;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--green); background: var(--cream); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--terracotta);
  border-radius: 50%;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--green); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    gap: 2px;
  }
  .nav-links.open a { padding: 13px 12px; font-size: 17px; }
  .nav-links.open a.active::after { display: none; }
  .nav-links.open a.active { background: var(--cream); }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
}

/* ---- Footer ---- */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,0.78); }
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 90px) var(--gutter) 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: #fff; display:inline-flex; align-items:center; gap: 12px; }
.footer-col h5 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #E8A581; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-on-green);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}

/* ---- Cards & components ---- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(26px, 3vw, 38px);
}
.bg-cream .card { background: var(--white); }
.card-hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(28,74,58,0.4); border-color: var(--cream-deep); }

/* image placeholder */
.ph {
  position: relative;
  background-color: var(--cream-deep);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 11px,
    rgba(28,74,58,0.06) 11px, rgba(28,74,58,0.06) 22px
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 240px;
  color: var(--green);
}
.ph span {
  font-family: 'SFMono-Regular', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: rgba(247,242,233,0.82);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(28,74,58,0.14);
  text-align: center;
  max-width: 80%;
}

/* real photo frame */
.photo {
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-deep);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* hero brand graphic */
.hero-graphic {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 56 / 62;
  min-height: 460px;
  box-shadow: 0 30px 60px -40px rgba(20,51,41,0.55);
}
.hero-graphic svg { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .hero-graphic { min-height: 360px; aspect-ratio: 16 / 12; } }

/* numbered list / process */
.step-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
}
.divider { height: 1px; background: var(--line); border: 0; }
.on-green .divider { background: var(--line-on-green); }

/* pill / tag */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  border: 1px solid var(--line);
}
.tag-accent { background: rgba(201,107,62,0.12); color: var(--terracotta-deep); border-color: rgba(201,107,62,0.25); }
.tag-free { background: var(--green); color: #fff; border-color: var(--green); }

.price {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
}
.price small { font-family: var(--sans); font-size: 0.9rem; color: var(--charcoal-soft); font-weight: 500; }

/* checklist */
.check { list-style: none; padding: 0; }
.check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.check li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(201,107,62,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3' stroke='%23C96B3E' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* hero specifics */
.hero { padding-top: clamp(48px, 7vw, 86px); padding-bottom: clamp(56px, 8vw, 110px); }
.eyebrow-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* small label above sections inside green */
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---- FAQ accordion ---- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 500;
  color: var(--green);
  line-height: 1.25;
}
.faq-q .pm {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
}
.faq-q .pm::before, .faq-q .pm::after {
  content: "";
  position: absolute;
  background: var(--terracotta);
  left: 50%; top: 50%;
  transition: transform .25s ease;
}
.faq-q .pm::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-q .pm::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq-item.open .faq-q .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a-inner { padding: 0 4px 26px; color: var(--charcoal-soft); max-width: 70ch; }

/* ---- GEO score rows ---- */
.score-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(22px,3vw,30px) 0;
  border-bottom: 1px solid var(--line-on-green);
}
.score-row:last-child { border-bottom: 0; }
.score-pts {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #E8A581;
  line-height: 1;
  white-space: nowrap;
}
.score-pts small { font-family: var(--sans); font-size: 0.8rem; display:block; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.04em; }
@media (max-width: 640px) { .score-row { grid-template-columns: 1fr; gap: 8px; } }

/* verdict bands */
.verdicts { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 760px) { .verdicts { grid-template-columns: 1fr 1fr; } }
.verdict { padding: 20px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.verdict .band { font-family: var(--serif); font-size: 1.5rem; color: var(--green); }
.verdict p { font-size: 14.5px; color: var(--charcoal-soft); margin-top: 6px; line-height: 1.4; }

/* contact option cards */
.opt-num { font-family: var(--serif); font-size: 1.4rem; color: var(--terracotta); }
