/* @import must be FIRST — before any other rules including @font-face */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* ============================================
   Match Point Baby — Peri Bottle Sales Page
   Styles matched to baretype.com/peri-bottle
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Editors Italic';
  src: url('fonts/editors-italic.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Editors Light';
  src: url('fonts/editors-light.woff') format('woff');
  font-display: swap;
}

/* --- Brand Tokens --- */
:root {
  --pink-bg: #ffebee;
  --button-pink: #ffc7ee;
  --brand-green: #378c34;
  --dark: #1a1919;
  --cream: #fdf8f2;
  --taupe: #987d74;
  --black: #000000;
  --white: #ffffff;
  --logo-pink: #eebac6;
  --hover-pink: #ff75e8;

  --font-heading: 'Editors Italic', 'Playfair Display', Georgia, serif;
  --font-heading-light: 'Editors Light', 'Playfair Display', Georgia, serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--pink-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Layout --- */
.page-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
}

.section-pad {
  padding: 0 16px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Header
   ============================================ */

.header {
  z-index: 1;
  background: var(--pink-bg);
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__brand {
  display: flex;
  align-items: center;
  line-height: 1;
}

.header__logo {
  height: 28px;
  width: auto;
}

/* ============================================
   Product Image Carousel — Hero + Thumbnails
   ============================================ */

.carousel {
  position: relative;
  width: 100%;
  z-index: 1;
  background: var(--pink-bg);
  -webkit-user-select: none;
  user-select: none;
}

/* --- Hero image area --- */
.carousel__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.carousel__hero:active {
  cursor: grabbing;
}

.carousel__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel__track--dragging {
  transition: none;
}

.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel__hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px 0;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.carousel__hero-img--cover {
  object-fit: cover;
  border-radius: 0;
  padding: 8px 16px;
}

/* --- Thumbnail strip --- */
.carousel__thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel__thumbs::-webkit-scrollbar {
  display: none;
}

.carousel__thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--cream);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
  opacity: 0.55;
}

.carousel__thumb:hover {
  opacity: 0.85;
}

.carousel__thumb--active {
  border-color: var(--brand-green);
  opacity: 1;
}

.carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel__thumb--cover img {
  object-fit: cover;
}

/* ============================================
   Product Info Section
   ============================================ */

.product {
  background: var(--pink-bg);
  padding: 24px 16px 40px;
}

.product__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--taupe);
  margin-bottom: 18px;
}

.product__tagline {
  font-family: var(--font-heading-light);
  font-size: 34px;
  font-weight: 400;
  font-style: normal;
  line-height: 0.92;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.product__tagline em {
  font-family: var(--font-heading);
  font-style: italic;
}

.product__name {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
  color: var(--brand-green);
  letter-spacing: 0;
  margin-bottom: 12px;
}

/* --- Social Proof Above the Fold --- */
.product__social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.product__stars {
  color: #e8a800;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}

.product__rating-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--taupe);
  letter-spacing: 0.02em;
}

.product__price-line {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1;
}

.product__price-note {
  font-weight: 400;
  font-size: 12px;
  color: var(--taupe);
  letter-spacing: 0.04em;
}

.product__price-anchor {
  font-weight: 400;
  font-size: 15px;
  color: var(--taupe);
  text-decoration: line-through;
  margin-right: 6px;
}

.product__launch-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-green);
  background: rgba(55, 140, 52, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* --- Trust line below CTA --- */
.product__trust-line {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.04em;
  margin-top: 14px;
}

/* --- CTA Button --- */
.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 52px;
  background: var(--brand-green);
  border: 2px solid var(--brand-green);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background: #2d7a2b;
  transform: translateY(-1px);
}

.cta-button:hover .cta-button__label,
.cta-button:hover .cta-button__price {
  color: var(--white);
  transition: color 0.3s;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Hero CTA Pulse Ring --- */
.cta-button--hero {
  position: relative;
}

.cta-button--hero::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid var(--brand-green);
  opacity: 0;
  animation: cta-pulse 2.5s ease-out 1s 3;
  pointer-events: none;
}

@keyframes cta-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

.cta-button__label,
.cta-button__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 52px;
}

.cta-button__label {
  padding-right: 14px;
}

.cta-button--single .cta-button__label {
  padding-right: 0;
}

.cta-button__divider {
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.3);
}

.cta-button__price {
  padding-left: 14px;
  text-transform: none;
}

/* ============================================
   Sticky Bottom CTA Bar
   ============================================ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.sticky-cta--visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-cta__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sticky-cta__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--dark);
  line-height: 1.2;
}

.sticky-cta__price {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--taupe);
  line-height: 1.2;
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-green);
  border: 2px solid var(--brand-green);
  border-radius: 10px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  white-space: nowrap;
  transition: background 0.3s;
  text-decoration: none;
}

.sticky-cta__btn:hover {
  background: #2d7a2b;
}

/* ============================================
   Trust Badges
   ============================================ */

.badges {
  background: var(--cream);
  min-height: 140px;
  padding: 32px 16px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.badges__item {
  width: 83px;
  transition: opacity 0.25s;
}

.badges__item:hover {
  opacity: 0.8;
}

.badges__item--wide {
  width: 91px;
}

.badges__item--short {
  width: 83px;
  margin-top: 2px;
}

.badges__item img {
  width: 100%;
  height: auto;
}

/* ============================================
   SECTION: The 200+ Times Hook
   ============================================ */

.s-hook {
  background: var(--dark);
  padding: 52px 16px 56px;
}

.s-hook__heading {
  font-family: var(--font-heading-light);
  font-size: 30px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.count-up {
  font-variant-numeric: tabular-nums;
}

.s-hook__lead {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.75;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.s-hook__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.s-hook__callout {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.15;
  color: #ffc7ee;
  margin-top: 24px;
}

/* ============================================
   SECTION: Three Differentiators
   ============================================ */

.s-features {
  background: var(--pink-bg);
  padding: 48px 16px 52px;
  border-top: 1px solid rgba(55, 140, 52, 0.08);
}

.s-features__item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(55,140,52,0.12);
}

.s-features__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.s-features__number {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 10px;
}

.s-features__title {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
  color: var(--brand-green);
  margin-bottom: 10px;
}

.s-features__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--black);
  letter-spacing: 0.02em;
}

/* ============================================
   SECTION: The Closer
   ============================================ */

.s-closer {
  background: var(--cream);
  padding: 48px 16px;
  position: relative;
}

.s-closer::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-green);
}

.s-closer__inner {
  border-left: 3px solid var(--brand-green);
  padding-left: 18px;
}

.s-closer__text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.s-closer__punch {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
  color: var(--brand-green);
}

/* ============================================
   SECTION: Lifestyle Image Break
   ============================================ */

.s-lifestyle-break {
  width: 100%;
  overflow: hidden;
}

.s-lifestyle-break__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 520px;
}

.s-lifestyle-break__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #f0e4d8 0%, #e5d4c6 50%, #dbc8b8 100%);
}

.s-lifestyle-break__label {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--taupe);
  margin-bottom: 4px;
}

.s-lifestyle-break__sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--taupe);
  opacity: 0.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================
   SECTION: Testimonials
   ============================================ */

.s-testimonial {
  background: var(--pink-bg);
  padding: 52px 0;
  border-top: 1px solid rgba(55, 140, 52, 0.08);
  overflow: hidden;
}

.s-testimonial__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
}

.s-testimonial__track::-webkit-scrollbar {
  display: none;
}

.s-testimonial__inner {
  flex: 0 0 85%;
  scroll-snap-align: center;
  text-align: center;
  padding: 0 16px;
  margin-bottom: 0;
}

.s-testimonial__inner:first-child {
  margin-left: 7.5%;
}

.s-testimonial__inner:last-child {
  margin-right: 7.5%;
}

.s-testimonial__stars {
  color: #e8a800;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  line-height: 1;
}

.s-testimonial__quote {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 14px;
}

.s-testimonial__attr {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--taupe);
  text-transform: uppercase;
}

/* ============================================
   SECTION: UGC / Social Proof #2
   ============================================ */

.s-ugc {
  background: var(--pink-bg);
  padding: 48px 16px 52px;
  border-top: 1px solid rgba(55, 140, 52, 0.08);
}

.s-ugc__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 16px;
}

.s-ugc__heading {
  font-family: var(--font-heading-light);
  font-size: 26px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 28px;
}

.s-ugc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.s-ugc__photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f0e4d8 0%, #e5d4c6 100%);
  border-radius: 8px;
  margin-bottom: 10px;
}

.s-ugc__caption {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 4px;
}

.s-ugc__handle {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--taupe);
  letter-spacing: 0.02em;
}

/* ============================================
   SECTION: Comparison
   ============================================ */

.s-difference {
  background: var(--cream);
  padding: 48px 16px 52px;
}

.s-difference__heading {
  font-family: var(--font-heading-light);
  font-size: 26px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 28px;
}

.s-difference__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.s-difference__col {
  padding: 18px 14px;
  border-radius: 12px;
}

.s-difference__col--theirs {
  background: rgba(0,0,0,0.04);
}

.s-difference__col--ours {
  background: var(--button-pink);
  border: 2px solid var(--brand-green);
}

.s-difference__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark);
  margin-bottom: 12px;
}

.s-difference__list {
  list-style: none;
}

.s-difference__list li {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--dark);
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  letter-spacing: 0.02em;
}

.s-difference__list li:last-child {
  border-bottom: none;
}

.s-difference__col--theirs .s-difference__list li {
  color: var(--taupe);
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.15);
}

/* ============================================
   SECTION: Mid-page CTA
   ============================================ */

.s-midcta {
  background: var(--cream);
  padding: 0 16px 48px;
  text-align: center;
}

.s-midcta .cta-button {
  margin: 0 auto;
}

.s-midcta__trust {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.04em;
  margin-top: 12px;
}

/* ============================================
   SECTION: How to Use
   ============================================ */

.s-howto {
  background: var(--dark);
  padding: 52px 16px 56px;
}

.s-howto__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 16px;
}

.s-howto__heading {
  font-family: var(--font-heading-light);
  font-size: 30px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

.s-howto__steps {
  list-style: none;
}

.s-howto__step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.s-howto__step:last-child {
  margin-bottom: 0;
}

.s-howto__step-num {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--brand-green);
  line-height: 1;
  flex-shrink: 0;
  width: 22px;
}

.s-howto__step p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

.s-howto__care {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
   SECTION: Product Details
   ============================================ */

.s-details {
  background: var(--pink-bg);
  padding: 48px 16px 52px;
  border-top: 1px solid rgba(55, 140, 52, 0.08);
}

.s-details__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 24px;
}

.s-details__block {
  margin-bottom: 24px;
}

.s-details__title {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1;
  color: var(--brand-green);
  margin-bottom: 14px;
}

.s-details__list {
  list-style: none;
}

.s-details__list li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  letter-spacing: 0.02em;
}

.s-details__list li:last-child {
  border-bottom: none;
}

.s-details__list li span:first-child {
  color: var(--taupe);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  flex-shrink: 0;
  margin-right: 12px;
}

.s-details__list li span:last-child {
  text-align: right;
}

.s-details__certs {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-green);
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(55,140,52,0.15);
}

.s-details__dot {
  margin: 0 6px;
  opacity: 0.4;
}

/* ============================================
   SECTION: FAQ Accordion
   ============================================ */

.s-faq {
  background: var(--cream);
  padding: 48px 16px 52px;
}

.s-faq__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 16px;
}

.s-faq__heading {
  font-family: var(--font-heading-light);
  font-size: 26px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 28px;
}

.s-faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.s-faq__question {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--dark);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.4;
}

.s-faq__question::-webkit-details-marker {
  display: none;
}

.s-faq__question::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  color: var(--brand-green);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s;
}

.s-faq__item[open] .s-faq__question::after {
  content: '\2212';
}

.s-faq__answer {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--taupe);
  letter-spacing: 0.02em;
  overflow: hidden;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.s-faq__item[open] .s-faq__answer {
  max-height: 200px;
  padding-bottom: 16px;
}

/* ============================================
   SECTION: Brand Story
   ============================================ */

.s-story {
  background: var(--dark);
  padding: 52px 16px 56px;
}

.s-story__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 16px;
}

.s-story__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.s-story__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.s-story__body:last-child {
  margin-bottom: 0;
}

/* ============================================
   SECTION: Final CTA
   ============================================ */

.s-final {
  background: var(--cream);
  padding: 52px 16px 60px;
  text-align: center;
}

.s-final__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 14px;
}

.s-final__heading {
  font-family: var(--font-heading-light);
  font-size: 30px;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 12px;
}

.s-final__sub {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--taupe);
  margin-bottom: 28px;
}

.cta-button--final {
  margin: 0 auto;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--dark);
  padding: 32px 16px;
  /* Extra padding at bottom for sticky CTA clearance */
  padding-bottom: 80px;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.site-footer__copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ============================================
   Checkout Page
   ============================================ */

/* --- Checkout Header --- */
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 14px;
  border-bottom: 1px solid #e0d6cc;
}

.checkout-header__brand {
  display: flex;
  align-items: center;
  line-height: 1;
}

.checkout-header__logo {
  height: 28px;
  width: auto;
}

.checkout-header__secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--taupe);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.checkout-header__lock {
  display: inline-flex;
  width: 14px;
  height: 14px;
}

/* --- Checkout Progress Steps --- */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 4px;
  gap: 0;
}

.checkout-progress__step {
  display: flex;
  align-items: center;
  gap: 7px;
}

.checkout-progress__number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: #e8e3de;
  color: var(--taupe);
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}

.checkout-progress__step--active .checkout-progress__number {
  background: var(--brand-green);
  color: var(--white);
}

.checkout-progress__text {
  font-size: 12px;
  font-weight: 500;
  color: var(--taupe);
  letter-spacing: 0.01em;
}

.checkout-progress__step--active .checkout-progress__text {
  color: var(--dark);
}

.checkout-progress__connector {
  width: 24px;
  height: 1px;
  background: #d6cfc8;
  margin: 0 6px;
  flex-shrink: 0;
}

/* --- Completed progress step (checkmark) --- */
.checkout-progress__step--completed .checkout-progress__number {
  background: var(--brand-green);
  color: var(--white);
  font-size: 0;
}
.checkout-progress__step--completed .checkout-progress__number::after {
  content: '\2713';
  font-size: 12px;
  font-weight: 700;
}
.checkout-progress__step--completed .checkout-progress__text {
  color: var(--brand-green);
}

/* --- Checkout step show/hide --- */
.checkout-step--hidden {
  display: none;
}

/* --- Back link --- */
.step-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--taupe);
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.2s;
}
.step-back:hover {
  color: var(--dark);
  text-decoration: underline;
}
.step-back__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Checkout Sections --- */
.checkout-section {
  padding: 22px 0;
  border-bottom: 1px solid #e8e3de;
}

.checkout-section--summary {
  padding: 0;
  border-bottom: 1px solid #e8e3de;
}

.checkout-section__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--dark);
  letter-spacing: 0.01em;
}

.checkout-section__divider {
  height: 1px;
  background: #e8e3de;
  margin: 6px 0 20px;
}

/* --- Order Toggle (collapsible summary) --- */
.order-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.order-toggle__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-toggle__cart {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
}

.order-toggle__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-green);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.order-toggle:hover .order-toggle__label {
  border-bottom-color: var(--brand-green);
}

.order-toggle__chevron {
  width: 14px;
  height: 14px;
  color: var(--brand-green);
  transition: transform 0.25s ease;
}

.order-toggle[aria-expanded="true"] .order-toggle__chevron {
  transform: rotate(180deg);
}

.order-toggle__total {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

/* --- Order Details (collapsible panel) --- */
.order-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.order-details--open {
  max-height: 300px;
}

/* --- Order Summary --- */
.order-summary {
  background: var(--cream);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0d6cc;
}

.order-item__thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.order-item__image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--pink-bg);
  border: 1px solid #e8e3de;
}

.order-item__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--taupe);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item__details {
  flex: 1;
  min-width: 0;
}

.order-item__name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--dark);
}

.order-item__variant {
  font-size: 12px;
  color: var(--taupe);
}

.order-item__price {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  flex-shrink: 0;
}

.order-totals {
  padding-top: 14px;
}

.order-totals__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #5a524c;
  margin-bottom: 8px;
}

.order-totals__free {
  color: var(--brand-green);
  font-weight: 500;
}

.order-totals__row--total {
  font-weight: 600;
  font-size: 17px;
  color: var(--dark);
  padding-top: 12px;
  border-top: 1px solid #e0d6cc;
  margin-top: 4px;
  margin-bottom: 0;
}

.order-totals__currency {
  font-size: 12px;
  font-weight: 400;
  color: var(--taupe);
  margin-right: 2px;
  vertical-align: baseline;
}

/* --- Form Elements --- */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-label__optional {
  color: var(--taupe);
  font-weight: 400;
}

.form-input-wrap {
  position: relative;
}

.form-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--taupe);
  pointer-events: none;
  z-index: 1;
}

.form-input {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1.5px solid #d6cfc8;
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
  letter-spacing: 0.01em;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input--icon {
  padding-left: 40px;
}

.form-input::placeholder {
  color: #b5aba2;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(55, 140, 52, 0.1);
}

.form-input--error {
  border-color: #d32f2f;
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-error {
  font-size: 12px;
  color: #d32f2f;
  margin-top: 5px;
  display: none;
}

.form-error--visible {
  display: block;
}

/* --- Submit Error Banner --- */
.submit-error {
  background: #fdecea;
  color: #d32f2f;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  display: none;
}

.submit-error--visible {
  display: block;
}

/* --- Checkout CTA Area --- */
.checkout-cta-wrap {
  padding: 24px 0 32px;
}

.cta-button--checkout {
  max-width: 100%;
  gap: 8px;
}

.cta-button__lock-icon {
  width: 16px;
  height: 16px;
  color: var(--white);
  flex-shrink: 0;
}

.cta-button--loading {
  opacity: 0.7;
  cursor: wait;
}

/* --- Trust badge below CTA --- */
.checkout-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--taupe);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.checkout-trust__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================
   Waitlist Confirmation
   ============================================ */

.confirmation {
  display: none;
  text-align: center;
  padding: 56px 0 72px;
}

.confirmation--visible {
  display: block;
}

.confirmation__icon {
  width: 52px;
  height: 52px;
  background: var(--brand-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 22px;
}

.confirmation__title {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
  color: var(--brand-green);
  margin-bottom: 14px;
}

.confirmation__message {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 28px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.confirmation .cta-button {
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   Staggered Reveal Animations
   ============================================ */

.s-features__item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.revealed .s-features__item:nth-child(1) { transition-delay: 0s; }
.revealed .s-features__item:nth-child(2) { transition-delay: 0.15s; }
.revealed .s-features__item:nth-child(3) { transition-delay: 0.3s; }
.revealed .s-features__item {
  opacity: 1;
  transform: translateY(0);
}

.s-features__number {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.revealed .s-features__number {
  opacity: 0.35;
  transform: scale(1);
}

.s-howto__step {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.revealed .s-howto__step:nth-child(1) { transition-delay: 0s; }
.revealed .s-howto__step:nth-child(2) { transition-delay: 0.12s; }
.revealed .s-howto__step:nth-child(3) { transition-delay: 0.24s; }
.revealed .s-howto__step:nth-child(4) { transition-delay: 0.36s; }
.revealed .s-howto__step {
  opacity: 1;
  transform: translateX(0);
}

.s-difference__col {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.revealed .s-difference__col--theirs {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0s;
}
.revealed .s-difference__col--ours {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s;
}

/* ============================================
   Scroll Progress Bar
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--brand-green);
  z-index: 200;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================
   Reduced Motion Safety
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .s-features__item,
  .s-howto__step,
  .s-difference__col,
  .s-features__number,
  .scroll-progress {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .s-features__number {
    opacity: 0.35 !important;
  }
  .cta-button--hero::after {
    animation: none !important;
    opacity: 0 !important;
  }
  .carousel__track {
    transition: none !important;
  }
}

/* ============================================
   Responsive — Tablet / Desktop
   ============================================ */

@media (min-width: 600px) {
  body {
    font-size: 16px;
  }

  .page-wrap {
    max-width: 600px;
  }

  /* Restore wider section padding at tablet */
  .product,
  .s-hook, .s-features, .s-closer,
  .s-testimonial, .s-difference, .s-midcta,
  .s-howto, .s-details, .s-faq,
  .s-story, .s-final, .site-footer, .badges {
    padding-inline: 24px;
  }

  .product__tagline {
    font-size: 44px;
  }

  .product__name {
    font-size: 40px;
  }

  .product__price-line {
    font-size: 20px;
  }

  .carousel__hero {
    max-height: 560px;
  }

  .carousel__thumb {
    width: 64px;
    height: 76px;
  }

  .cta-button {
    max-width: 360px;
    min-height: 54px;
  }

  .cta-button--checkout {
    max-width: 100%;
  }

  .cta-button__label,
  .cta-button__price {
    font-size: 16px;
    line-height: 54px;
  }

  .checkout-progress__connector {
    width: 32px;
  }

  .order-item__image {
    width: 72px;
    height: 72px;
  }

  .s-hook__heading {
    font-size: 38px;
  }

  .s-hook__callout {
    font-size: 26px;
  }

  .s-features__title {
    font-size: 26px;
  }

  .s-closer__punch {
    font-size: 28px;
  }

  .s-testimonial {
    padding: 52px 24px;
  }

  .s-testimonial__track {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 40px;
  }

  .s-testimonial__inner {
    flex: none;
    padding: 0;
  }

  .s-testimonial__inner:first-child {
    margin-left: 0;
  }

  .s-testimonial__inner:last-child {
    margin-right: 0;
  }

  .s-testimonial__quote {
    font-size: 24px;
  }

  .s-difference__heading {
    font-size: 32px;
  }

  .s-howto__heading {
    font-size: 38px;
  }

  .s-faq__heading {
    font-size: 32px;
  }

  .s-story__heading {
    font-size: 30px;
  }

  .s-final__heading {
    font-size: 38px;
  }
}

@media (min-width: 960px) {
  .page-wrap {
    max-width: 720px;
  }

  body {
    font-size: 16px;
  }

  .header__logo,
  .checkout-header__logo {
    height: 32px;
  }

  .product__tagline {
    font-size: 56px;
  }

  .product__name {
    font-size: 46px;
  }

  .product__price-line {
    font-size: 22px;
  }

  .product__eyebrow {
    font-size: 12px;
  }

  .cta-button {
    max-width: 400px;
    min-height: 56px;
  }

  .cta-button--checkout {
    max-width: 100%;
  }

  .cta-button__label,
  .cta-button__price {
    font-size: 17px;
    line-height: 56px;
  }

  .s-hook {
    padding: 68px 36px 72px;
  }

  .s-hook__heading {
    font-size: 46px;
  }

  .s-hook__lead {
    font-size: 16px;
  }

  .s-hook__callout {
    font-size: 30px;
  }

  .s-features {
    padding: 60px 36px 64px;
  }

  .s-features__title {
    font-size: 28px;
  }

  .s-closer {
    padding: 56px 32px;
  }

  .s-closer__punch {
    font-size: 32px;
  }

  .s-testimonial {
    padding: 64px 32px;
  }

  .s-testimonial__quote {
    font-size: 28px;
  }

  .s-difference {
    padding: 60px 36px 64px;
  }

  .s-difference__heading {
    font-size: 40px;
  }

  .s-difference__col {
    padding: 22px 18px;
  }

  .s-difference__label {
    font-size: 11px;
  }

  .s-difference__list li {
    font-size: 13px;
  }

  .s-howto {
    padding: 68px 36px 72px;
  }

  .s-howto__heading {
    font-size: 46px;
  }

  .s-details {
    padding: 60px 36px 64px;
  }

  .s-details__title {
    font-size: 22px;
  }

  .s-faq {
    padding: 60px 36px 64px;
  }

  .s-faq__heading {
    font-size: 38px;
  }

  .s-faq__question {
    font-size: 15px;
  }

  .s-faq__answer {
    font-size: 14px;
  }

  .s-story {
    padding: 68px 36px 72px;
  }

  .s-story__heading {
    font-size: 34px;
  }

  .s-final {
    padding: 64px 36px 72px;
  }

  .s-final__heading {
    font-size: 48px;
  }

  .s-final__sub {
    font-size: 13px;
  }
}

/* ============================================
   Checkout — Extended
   ============================================ */

/* --- Form Row (side-by-side fields) --- */
.form-row {
  display: flex;
  gap: 12px;
}

.form-row > * {
  flex: 1;
}

@media (max-width: 599px) {
  .form-row {
    flex-wrap: wrap;
  }

  .form-row > * {
    flex-basis: 100%;
  }
}

/* --- Form Select --- */
.form-select {
  width: 100%;
  padding: 13px 14px;
  padding-right: 36px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1.5px solid #d6cfc8;
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
  letter-spacing: 0.01em;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23987d74' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
}

.form-select:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(55, 140, 52, 0.1);
}

/* --- CTA Button Checkout Variant --- */
.cta-button--checkout {
  min-height: 52px;
  font-size: 16px;
}

