/* ============================================
   SleepBase Marketing Site — Core Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
  --cream: #FAF7F2;
  --cream-warm: #F5EFE6;
  --navy: #1E2A4A;
  --navy-light: #2D3E5F;
  --blush: #D4A0A0;
  --blush-light: #E8C8C8;
  --blush-pale: #F5E6E6;
  --sage: #8FA89A;
  --sage-light: #B5CCBF;
  --warm-grey: #9B9590;
  --warm-grey-light: #C5BFBA;
  --white: #FFFFFF;
  --text-body: #4A4543;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-pill: 100px;

  --shadow-soft: 0 2px 16px rgba(30, 42, 74, 0.06);
  --shadow-card: 0 4px 24px rgba(30, 42, 74, 0.08);
  --shadow-hover: 0 8px 32px rgba(30, 42, 74, 0.12);

  --max-width: 1200px;
  --section-pad: 100px;
  --section-pad-mobile: 60px;
}

/* --- Base --- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-body);
  background-color: var(--cream);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; margin-bottom: 0.5em; }
h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
h4 { font-size: 1.2rem; }

p + p { margin-top: 1em; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--cream { background-color: var(--cream); }
.section--warm  { background-color: var(--cream-warm); }
.section--white { background-color: var(--white); }
.section--blush { background-color: var(--blush-pale); }
.section--sage  { background-color: rgba(181, 204, 191, 0.25); }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section__header p {
  color: var(--warm-grey);
  font-size: 1.1rem;
  margin-top: 0.75em;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm-grey-light);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--blush);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--navy-light);
  transition: color 0.2s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--blush);
}

.nav-links .btn--nav {
  padding: 10px 24px;
  background: var(--blush);
  color: var(--navy);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.nav-links .btn--nav:hover {
  background: var(--blush-light);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blush);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--blush-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  padding: 0;
  font-weight: 500;
}

.btn--ghost:hover {
  color: var(--blush);
}

.btn--ghost .arrow {
  transition: transform 0.2s;
}

.btn--ghost:hover .arrow {
  transform: translateX(4px);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* --- Hero --- */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero__kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__copy {
  font-size: 1.15rem;
  color: var(--warm-grey);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
}

.hero__image-placeholder {
  background: var(--cream-warm);
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  aspect-ratio: 4 / 3.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--warm-grey);
  font-size: 0.95rem;
  border: 2px dashed var(--warm-grey-light);
}

/* Trust strip */
.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--warm-grey-light);
  border-bottom: 1px solid var(--warm-grey-light);
}

.trust-strip__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--warm-grey);
  font-weight: 500;
}

.trust-strip__dot {
  width: 6px;
  height: 6px;
  background: var(--blush);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Problem / Empathy Cards --- */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.problem-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--blush-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blush);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-card p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
}

.problem__closing {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--warm-grey);
}

/* --- How It Works Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  margin-bottom: 48px;
}

.step {
  text-align: center;
  padding: 20px;
}

.step__number {
  width: 48px;
  height: 48px;
  background: var(--blush-pale);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.step__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
}

.step__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--warm-grey);
}

/* --- Feature Cards --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: var(--sage-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--warm-grey);
  line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.testimonial__quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--blush-light);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial__author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial__role {
  font-size: 0.85rem;
  color: var(--warm-grey);
}

/* --- Who It's For --- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.who-col h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.who-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.5;
}

.who-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(143, 168, 154, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.who-list .check svg {
  width: 14px;
  height: 14px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 2.5;
}

.who-list .cross {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(212, 160, 160, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.who-list .cross svg {
  width: 12px;
  height: 12px;
  stroke: var(--blush);
  fill: none;
  stroke-width: 2.5;
}

/* --- Pricing Card --- */
.pricing-card {
  max-width: 520px;
  margin: 0 auto 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.pricing-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-card__price-note {
  font-size: 0.9rem;
  color: var(--warm-grey);
  margin-bottom: 8px;
}

.pricing-card__setup {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.pricing-card__founding {
  display: inline-block;
  background: var(--blush-pale);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197, 191, 186, 0.3);
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(143, 168, 154, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.pricing-features .check svg {
  width: 12px;
  height: 12px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 2.5;
}

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--warm-grey);
  margin-bottom: 16px;
}

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

.pricing-link a {
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--warm-grey-light);
  transition: border-color 0.2s;
}

.pricing-link a:hover {
  border-color: var(--blush);
  color: var(--blush);
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: var(--section-pad) 0;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--warm-grey);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner__email {
  font-size: 0.95rem;
  color: var(--warm-grey);
}

.cta-banner__email a {
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--warm-grey-light);
}

.cta-banner__email a:hover {
  border-color: var(--blush);
  color: var(--blush);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-brand__tag {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.6;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blush-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a {
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--blush-light);
}

.footer-bottom__links {
  display: flex;
  gap: 24px;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--warm-grey-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--warm-grey-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover {
  color: var(--blush);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer__inner {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--warm-grey);
  line-height: 1.7;
}

/* --- Features Page: Alternating Sections --- */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-detail--reverse {
  direction: rtl;
}

.feature-detail--reverse > * {
  direction: ltr;
}

.feature-detail__content h2 {
  font-size: 2rem;
}

.feature-detail__content p {
  margin-bottom: 1em;
  color: var(--warm-grey);
  font-size: 1.05rem;
}

.feature-detail__image {
  background: var(--cream-warm);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  color: var(--warm-grey);
  font-size: 0.9rem;
  border: 2px dashed var(--warm-grey-light);
  box-shadow: var(--shadow-soft);
}

/* --- About Page --- */
.about-story {
  max-width: 720px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.05rem;
  color: var(--warm-grey);
  margin-bottom: 1.2em;
}

.about-mission {
  background: var(--blush-pale);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-mission blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  line-height: 1.5;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 720px;
  margin: 0 auto;
}

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

.team-card__photo {
  width: 140px;
  height: 140px;
  background: var(--cream-warm);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-grey);
  font-size: 0.85rem;
  border: 2px dashed var(--warm-grey-light);
}

.team-card h3 { margin-bottom: 4px; }

.team-card__role {
  color: var(--sage);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--warm-grey);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 28px 20px;
}

.value-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: var(--blush-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blush);
  fill: none;
  stroke-width: 1.5;
}

.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--warm-grey); }

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card__image {
  aspect-ratio: 16 / 9;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-grey);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--warm-grey-light);
}

.blog-card__body {
  padding: 24px;
}

.blog-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card h3 a:hover {
  color: var(--blush);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--warm-grey);
  margin-bottom: 12px;
  line-height: 1.6;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--warm-grey-light);
  font-weight: 500;
}

/* --- Demo / Contact Form --- */
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.demo-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--warm-grey-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--cream);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blush);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.demo-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.demo-info p {
  color: var(--warm-grey);
  font-size: 1.05rem;
  margin-bottom: 1.2em;
}

.demo-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.demo-trust-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(143, 168, 154, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.demo-trust-list .check svg {
  width: 12px;
  height: 12px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 2.5;
}

/* --- Page Header (used on inner pages) --- */
.page-header {
  text-align: center;
  padding: 60px 0 40px;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--warm-grey);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.legal-content p {
  margin-bottom: 1em;
  color: var(--warm-grey);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.legal-content li {
  margin-bottom: 0.5em;
  color: var(--warm-grey);
}

/* --- Scroll Fade Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__copy { margin: 0 auto 36px; }
  .hero__ctas { justify-content: center; }

  .hero__image {
    max-width: 400px;
    margin: 0 auto;
  }

  .problem-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  .feature-detail,
  .feature-detail--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .who-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  body { font-size: 16px; }

  .container { padding: 0 20px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--warm-grey-light);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open { display: flex; }

  .steps { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .pricing-card { padding: 36px 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .trust-strip__items { gap: 20px; }
  .trust-strip__item { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }

  .btn { padding: 12px 24px; font-size: 0.95rem; }
  .btn--large { padding: 14px 28px; }

  .hero { padding: 48px 0 40px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { text-align: center; justify-content: center; }
}
