/*
  Shared page chrome: sticky header, section shells, promises, CTA, footer.
*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(253, 248, 246, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(61, 43, 47, 0.06);
  background: rgba(253, 248, 246, 0.92);
}

.site-header__inner,
.section__inner,
.cta__inner,
.site-footer__inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand__mark {
  border-radius: 22%;
  box-shadow: 0 6px 16px rgba(238, 114, 91, 0.28);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section {
  padding: var(--space-2xl) 0;
}

.section--features {
  background: var(--color-surface);
}

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

.section--promises {
  background: var(--color-blush-soft);
}

.section__header {
  max-width: 36rem;
  margin-bottom: var(--space-xl);
}

.section__inner--narrow .section__header {
  margin-inline: auto;
  text-align: center;
}

.section__intro {
  margin-top: var(--space-md);
  max-width: 32rem;
}

.section__inner--narrow {
  max-width: 40rem;
}

.pillars {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.pillar h3 {
  margin: var(--space-sm) 0 0.4rem;
}

.pillar p {
  max-width: 22rem;
}

.promises {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-lg);
}

.promises li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-weight: 500;
  color: var(--color-ink);
}

.cta {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: clip;
  text-align: center;
}

.cta__atmosphere {
  position: absolute;
  inset: 0;
  background: var(--gradient-cta);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: var(--space-md);
}

.cta__logo {
  border-radius: 26%;
  box-shadow: var(--shadow-soft);
}

.cta p {
  max-width: 28rem;
}

.cta__note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.site-footer__inner {
  display: grid;
  gap: 0.5rem;
}

.site-footer__tag,
.site-footer__legal,
.site-footer__links {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__links span {
  opacity: 0.55;
}

.site-footer img {
  border-radius: 22%;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}
