/* ============================================================
   AMORA — style.css
   ============================================================ */

/* ---------- Canela — self-hosted (trial) @font-face ---------- */
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- CSS Custom Properties ---------- */
:root {
  --beige:      #D9C4B1;
  --brown:      #372713;
  --light:      #ECE6D8;
  --green:      #A39670;
  --darkgreen:  #4D4828;
  --red:        #7D2027;
  --gray:       #AEABA4;

  --coffee:     #493011;

  --font-serif:   'Canela', 'Playfair Display', serif;
  --font-sans:    'Manrope', sans-serif;
  /* Third family — used for small structural labels: eyebrows, kickers,
     captions and section labels. Weights 300-700, no italic. */
  --font-alt:     'Stack Sans Text', 'Manrope', sans-serif;

  /* Stroked tick for feature lists. The viewBox is padded by 1 unit so the
     round stroke caps aren't clipped when the mask is scaled to fit. */
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 12 9.143'%3E%3Cpath d='M 0 4.471 L 1.847 6.398 C 2.323 6.894 2.561 7.143 2.857 7.143 C 3.153 7.143 3.391 6.894 3.867 6.398 L 10 0' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --transition: 350ms ease-in-out;
}

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

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--light);
  color: var(--brown);
  min-height: 100%;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }

/* ---------- Grain Overlay ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ============================================================
   SECTIONS — snap scroll, full viewport height
   ============================================================ */
.section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
}

/* Fade-in on scroll */
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV — fixed full-width bar
   At the top of the hero it's fully transparent so it blends
   into the section; once the user scrolls, .scrolled kicks in
   and it becomes a frosted-glass panel. Text/border colors
   still adapt per section via .side-nav-light / .side-nav-dark.
   ============================================================ */
.side-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 40px;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--beige);
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* Frosted glass appears once the user scrolls past the initial position */
.side-nav.scrolled {
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Light variant — beige text over dark sections (hero, why-us, footer) */
.side-nav-light { color: var(--beige); }
.side-nav-light.scrolled {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

/* Dark variant — brown text over light sections (about, how-it-works) */
.side-nav-dark { color: var(--brown); }
.side-nav-dark.scrolled {
  background: rgba(255, 255, 255, 0.35);
  border-bottom-color: rgba(55, 39, 19, 0.10);
}

.nav-logo {
  justify-self: start;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: inherit;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.side-nav ul {
  justify-self: center;
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.side-nav .nav-link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  display: inline-block;
  position: relative;
  padding-bottom: 3px;
  transition: font-weight var(--transition), color var(--transition);
}

.side-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}

.side-nav .nav-link.active::after,
.side-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.side-nav .nav-link.active {
  font-weight: 600;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Compact button sizing inside the bar */
.side-nav .btn-cta {
  height: 34px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--brown);
  color: var(--beige);
}
.side-nav .btn-cta:hover {
  background: var(--darkgreen);
  color: var(--beige);
}
.side-nav .btn-shopify {
  height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  gap: 6px;
}
.side-nav .btn-shopify-icon { width: 14px; height: 14px; }

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.btn-cta {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  background: var(--light);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-cta:hover {
  transform: scale(1.02);
  background: var(--brown);
  color: var(--light);
}

.btn-shopify {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition);
}
.btn-shopify:hover {
  transform: scale(1.02);
  background: #ececec;
}
.btn-shopify-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-cta-dark {
  background: transparent;
  border: 2px solid var(--brown);
  color: var(--brown);
}
.btn-cta-dark:hover {
  background: var(--brown);
  color: var(--beige);
  border-color: var(--brown);
}

/* One-sided rounded highlight pill */
.highlight-pill {
  display: inline;
  background: var(--green);
  color: var(--brown);
  border-radius: 0 40px 40px 0;
  padding: 2px 16px 2px 6px;
}
.highlight-left {
  border-radius: 0 40px 40px 0;
}
.highlight-left-green {
  background: var(--green);
  color: var(--brown);
  border-radius: 0 40px 40px 0;
  padding: 3px 18px 3px 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.section-hero {
  background: var(--red);
  color: var(--beige);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 88px 64px 0 64px;
}

.hero-subline-center {
  /* Canela Light Italic — Manrope has no true italic, and Canela ships
     italics at 300 and 700 only, so this must stay at weight 300. */
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: 19px;
  color: var(--beige);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.star-icon { font-size: 13px; }

.hero-content {
  display: flex;
  flex: 1;
  gap: 32px;
  align-items: stretch;
  min-height: 0;
}

.hero-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* no bottom padding needed — nav is now at the top, not bottom */
  padding-bottom: 0;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;  /* Canela Regular — matches the medium-stroke weight visible in the design */
  /* min(6vw, 9vh) shrinks on short/wide viewports so BUY never overlaps the fixed nav */
  font-size: clamp(36px, min(6vw, 9vh), 80px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
}

.hero-line               { color: var(--beige); }
.hero-line.stroke        { -webkit-text-stroke: 1.5px var(--beige); color: transparent; }
.hero-line.italic-stroke { -webkit-text-stroke: 1.5px var(--beige); color: transparent; font-style: italic; }

.hero-visual-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  min-height: 0;
  margin-left: 80px;      /* pushes pill's left edge right — clears side text collision */
  padding-right: 36px;    /* narrows pill from the right */
  /* no overflow:hidden here — let image extend to section bottom */
}

.hero-visual-subline {
  /* Canela Light Italic — see .hero-subline-center; 400 would synthesise. */
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: var(--beige);
  text-align: center;
  width: 100%;
  margin-top: 36px;
  margin-bottom: 12px;
  align-self: center;
  flex-shrink: 0;
}

.hero-image-mask {
  flex: 1;
  width: 100%;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  min-height: 0;
  margin-top: 24px;       /* pushes pill down slightly, reducing its height */
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-side-text {
  position: absolute;
  /* left:0 = left edge of hero-visual-wrap.
     translateX(-100%) shifts the whole element leftward by its own width
     BEFORE rotation, so after rotate(-90deg) the visual right edge lands
     ~15px outside the image — no overlap ever. */
  left: 0;
  top: 50%;
  transform: translateX(-100%) translateY(-50%) rotate(-90deg);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--beige);
  white-space: nowrap;
  text-align: center;
  line-height: 1.5;
  pointer-events: none;
  opacity: 0.85;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section-about {
  background: var(--beige);
  display: flex;
  flex-direction: column;
}

.amora-strip {
  flex-shrink: 0;
  background: var(--green);
  overflow: hidden;
  white-space: nowrap;
  height: 60px;
  display: flex;
  align-items: center;
}

.amora-strip-inner {
  display: inline-flex;
  align-items: center;
  animation: stripScroll 18s linear infinite;
  white-space: nowrap;
}

.amora-strip-inner span {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--brown);
  padding: 0 16px;
  letter-spacing: 0.05em;
}
.amora-strip-inner .strip-star {
  font-size: 20px;
  color: var(--brown);
  padding: 0 4px;
}

@keyframes stripScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

.about-left {
  flex: 0 0 340px;
  padding: 52px 36px 52px 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-content: center;
}

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brown);
}

/* 3-column grid — each column is an independent flex container so
   left/right can have image-top + label-bottom while middle has
   label-top + image-bottom, all with correct proportions */
.about-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 0;
}

.about-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Image cells take 2/3 of their column height */
.about-col .about-cell-img  { flex: 2; }
/* Label cells take 1/3 of their column height */
.about-col .about-cell-text { flex: 1; }

.about-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image cells */
.about-cell-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-cell-img .cell-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  z-index: 1;
  transition: opacity var(--transition);
}

.about-cell-img:hover .cell-overlay { opacity: 0; }

/* Text label cells */
.about-cell-text {
  padding: 20px;
  text-align: center;
}

.about-cell-text p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  color: var(--beige);
  line-height: 1.15;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.bg-red      { background: var(--red); }
.bg-brown    { background: var(--brown); }
.bg-darkgreen{ background: var(--darkgreen); }

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.section-how {
  background: var(--light);
  display: flex;
  flex-direction: column;
}

.how-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 64px 40px 64px;
  gap: 24px;
}

/* --- Try-On Frame (top) --- */
.tryon-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tryon-headers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 2px;
  margin-bottom: 8px;
}

.tryon-header {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--brown);
  text-align: center;
}

/* Outer black frame */
.tryon-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 3px solid var(--brown);
  border-radius: 16px;
  overflow: hidden;
  background: var(--brown);
  gap: 3px;
  flex: 1;
  min-height: 0;
}

/* Each inner panel */
.tryon-panel {
  background: var(--beige);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 400ms ease-in-out;
}

.tryon-panel-inactive {
  background: var(--gray);
}

/* Image area */
.panel-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Full-body model image — contain so nothing is cropped */
.panel-model-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: opacity 300ms ease-in-out;
}

/* Clothing image — contained, no background */
.panel-style-img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
  transition: opacity 300ms ease-in-out;
}

/* Bottom row: arrows + confirm arrow */
.panel-footer-row {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 14px;
  gap: 8px;
}

.panel-nav {
  display: flex;
  gap: 4px;
}

.arrow-btn {
  width: 34px;
  height: 34px;
  background: var(--red);
  color: white;
  font-size: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}
.arrow-btn:hover:not(:disabled) { transform: scale(1.08); }
.arrow-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.confirm-btn {
  width: 44px;
  height: 34px;
  background: var(--brown);
  color: white;
  font-size: 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.confirm-btn:hover:not(:disabled) { transform: scale(1.05); background: var(--darkgreen); }
.confirm-btn:disabled { opacity: 0.25; cursor: not-allowed; }

/* Output panel */
.output-panel-content { flex-direction: column; }
.output-placeholder,
.output-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 13px;
  opacity: 0.5;
  height: 100%;
}

.loading-spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--beige);
  border-top-color: var(--brown);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.output-img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

/* --- Heading block (bottom-right) --- */
.how-heading-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 8px;
}

.how-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.how-subline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--brown);
  line-height: 1.55;
}

/* ============================================================
   WHY BRANDS CHOOSE AMORA SECTION
   ============================================================ */
.section-why {
  background: var(--darkgreen);
  color: var(--beige);
  display: flex;
  align-items: center;
}

.why-inner {
  display: flex;
  gap: 40px;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 80px 64px;
}

.why-left { flex: 0 0 52%; min-width: 0; }

.why-headline {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 38px);
  font-weight: 700;
  color: var(--beige);
  line-height: 1.05;
  margin-bottom: 32px;
  white-space: nowrap;
}

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 4px; }

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 16px 20px;
  background: var(--beige);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  transition: background var(--transition);
  border-radius: 4px;
}
.accordion-trigger:hover { background: #e4d3be; }

.acc-plus {
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.accordion-item.open .acc-plus { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease-in-out, padding 300ms ease-in-out;
  background: rgba(255,255,255,0.05);
  border-radius: 0 0 4px 4px;
  padding: 0 20px 0 58px;
}
.accordion-item.open .accordion-body {
  max-height: 160px;
  padding: 14px 20px 18px 58px;
}

.accordion-body p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--beige);
  opacity: 0.85;
}

/* Stamp column */
.why-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.stamp-frame {
  position: relative;
  width: min(100%, 340px);
}

.stamp-bg-img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* Single benefit image overlaid on the stamp — switches with accordion */
.stamp-screens {
  position: absolute;
  top: 16%;
  left: 13%;
  width: 74%;
  height: 68%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* full image visible, no cropping */
  display: block;
  transition: opacity 220ms ease-in-out;
}

/* ============================================================
   FOOTER / CTA SECTION
   ============================================================ */
.section-footer {
  background: var(--brown);
  color: var(--beige);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.footer-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
}

.footer-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-top: 80px;
  position: relative;
  z-index: 2;
}

.footer-heading {
  font-family: var(--font-serif);
  font-weight: 300;  /* Canela Light — thin elegant strokes matching the design */
  font-size: clamp(32px, 4vw, 52px);
  color: var(--beige);
  line-height: 1.2;
}
.footer-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;  /* Canela Light Italic — same elegant thin weight as the roman */
}

.footer-subline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--beige);
  opacity: 0.75;
}

.footer-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 560px;
  gap: 0;
}

.footer-fields {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer-row {
  display: flex;
  width: 100%;
}

.footer-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--light);
  border: none;
  border-right: 1px solid rgba(55,39,19,0.12);
  border-bottom: 1px solid rgba(55,39,19,0.12);
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--brown);
  transition: box-shadow var(--transition);
  min-width: 0;
}
.footer-input:last-child { border-right: none; }
.footer-row:last-child .footer-input { border-bottom: none; }
.footer-input:focus { box-shadow: inset 0 0 0 2px var(--green); z-index: 1; position: relative; }
.footer-input::placeholder { color: var(--brown); opacity: 0.45; }

.footer-btn {
  width: 100%;
  max-width: 560px;
  padding: 15px 22px;
  background: var(--green);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition);
}
.footer-btn:hover { transform: scale(1.02); background: var(--beige); }

/* Landing CTA — live-signup buttons (replaced the waitlist form) */
.footer-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 34px;
  background: var(--green);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.footer-cta-primary:hover { transform: scale(1.02); background: var(--beige); }
.footer-cta-link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--beige);
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.15s;
}
.footer-cta-link:hover { opacity: 1; text-decoration: underline; }

/* Contact icons + legal line inside the landing footer section.
   Kept muted so it doesn't compete with the CTA form above it. */
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

.footer-meta-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-meta-contact a {
  color: var(--beige);
  opacity: 0.65;
  transition: opacity 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(217, 196, 177, 0.25);
}
.footer-meta-contact a:hover { opacity: 1; border-color: var(--beige); }
.footer-meta-contact svg { width: 15px; height: 15px; }

.footer-meta-legal {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--beige);
  opacity: 0.55;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-meta-legal a {
  color: var(--beige);
  text-decoration: none;
  transition: opacity 0.15s;
}
.footer-meta-legal a:hover { opacity: 0.85; text-decoration: underline; }
.footer-meta-dot {
  color: var(--beige);
  opacity: 0.5;
}

/* Giant wordmark — pushed so only the top ~50% is visible */
.footer-wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(200px, 28vw, 500px);
  color: var(--green);
  opacity: 0.3;
  line-height: 0.85;
  position: absolute;
  bottom: -12%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Large screens ---- */
@media (min-width: 1400px) {
  .hero-inner, .how-inner { padding-left: 80px; padding-right: 80px; }
  .side-nav { padding-left: 56px; padding-right: 56px; }
  .about-left { padding-left: 80px; }
  .why-inner { padding-left: 80px; padding-right: 80px; }
}

/* ---- Small desktop / tablet landscape ---- */
@media (max-width: 1100px) {
  .about-body { flex-direction: column; }
  .about-left { flex: none; padding: 40px 40px 20px 40px; }
  .about-grid { flex: 1; }
  .why-inner { gap: 24px; padding: 60px 48px; }
  .why-right { flex: 1; min-width: 0; }
  .stamp-frame { width: min(100%, 300px); }
}

/* ---- Tablet portrait ---- */
@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .section { height: auto; min-height: 100svh; }

  /* Nav — shrink padding + link gaps but keep bar layout */
  .side-nav { padding: 10px 24px; }
  .side-nav ul { gap: 18px; }
  .nav-logo { font-size: 19px; }
  .side-nav .nav-link { font-size: 12px; letter-spacing: 0.05em; }
  .side-nav .btn-cta { height: 32px; padding: 0 12px; font-size: 11px; }
  .side-nav .btn-shopify { height: 32px; padding: 0 10px; font-size: 11px; }

  /* Hero */
  .hero-inner { padding: 84px 32px 32px; }
  .hero-content { flex-direction: column; gap: 16px; }
  .hero-visual-wrap { align-items: center; margin-left: 0; padding-right: 0; }
  .hero-side-text { display: none; }
  .hero-image-mask { max-height: 340px; margin-top: 12px; border-radius: 140px 140px 0 0; }

  /* About */
  .about-left { flex: none; padding: 32px 32px 16px; gap: 20px; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }

  /* How it works */
  .how-inner { padding: 80px 32px 32px; gap: 16px; }
  .tryon-frame { flex: none; }
  .tryon-headers { grid-template-columns: repeat(3, 1fr); font-size: 15px; }
  .tryon-panels { display: flex; flex-direction: column; gap: 3px; }
  .tryon-panel { min-height: 300px; }
  .how-heading-wrap { align-items: flex-start; text-align: left; }

  /* Why us */
  .why-inner { flex-direction: column; padding: 80px 32px 48px; gap: 28px; }
  .why-headline { white-space: normal; }
  .why-right { display: flex; flex: 0 0 auto; width: 100%; justify-content: center; }
  .stamp-frame { width: min(100%, 260px); }

  /* Footer */
  .footer-cta-block { padding-top: 80px; }
}

/* ---- Mobile ---- */
@media (max-width: 600px) {

  /* Nav — swap the 3-col grid for a plain flex row so nothing collapses
     when the section links are hidden. Logo far left, buttons far right. */
  .side-nav {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    gap: 10px;
  }
  /* section links become the dropdown menu — see MOBILE NAV MENU at end of file */
  .nav-logo { font-size: 18px; }
  .nav-actions { gap: 6px; }
  .side-nav .btn-cta {
    height: 32px;
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .side-nav .btn-shopify {
    height: 32px;
    padding: 0 10px;
    font-size: 0;    /* collapses the label text without display:none — keeps the icon */
    gap: 0;
  }
  .side-nav .btn-shopify-icon { width: 16px; height: 16px; }
  .side-nav .btn-shopify-label { display: none; }

  /* Hero */
  .hero-inner { padding: 72px 20px 24px; }
  .hero-subline-center { font-size: 14px; margin-top: 14px; gap: 8px; }
  .hero-headline { font-size: clamp(34px, 9.5vw, 50px); letter-spacing: -0.005em; }
  .hero-visual-subline { font-size: 14px; margin-top: 14px; }
  .hero-image-mask { max-height: 260px; border-radius: 110px 110px 0 0; }

  /* About */
  .amora-strip { height: 48px; }
  .amora-strip-inner span { font-size: 20px; }
  .about-left { padding: 24px 20px 12px; gap: 16px; }
  .about-headline { font-size: clamp(26px, 7vw, 38px); line-height: 1.2; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
  .about-cell-text p { font-size: clamp(12px, 3vw, 18px); }

  /* How it works */
  .how-inner { padding: 56px 16px 24px; gap: 12px; }
  .tryon-headers { display: none; }
  .tryon-panel { min-height: 260px; }
  .panel-footer-row { padding: 8px 10px 10px; }
  .arrow-btn { width: 30px; height: 30px; font-size: 18px; }
  .confirm-btn { width: 38px; height: 30px; font-size: 16px; }
  .how-headline { font-size: clamp(20px, 6vw, 32px); }
  .how-subline { font-size: 13px; }

  /* Why us */
  .why-inner { padding: 56px 20px 36px; gap: 24px; }
  .why-headline { font-size: clamp(20px, 6vw, 32px); white-space: normal; margin-bottom: 20px; }
  .accordion-trigger { font-size: 14px; padding: 14px 16px; gap: 14px; }
  .accordion-item.open .accordion-body { padding: 12px 16px 14px 44px; }
  .accordion-body p { font-size: 12px; }
  .why-right { display: flex; flex: 0 0 auto; width: 100%; justify-content: center; }
  .stamp-frame { width: min(100%, 220px); }

  /* Footer */
  .footer-cta-block { padding-top: 60px; gap: 12px; }
  .footer-heading { font-size: clamp(26px, 8vw, 40px); }
  .footer-subline { font-size: 13px; }
  .footer-form { padding: 0 8px; }
  .footer-row { flex-direction: column; }   /* stack inputs one per row */
  .footer-input {
    border-right: none;
    border-bottom: 1px solid rgba(55,39,19,0.12);
    padding: 12px 16px;
    font-size: 13px;
  }
  .footer-row:last-child .footer-input:last-child { border-bottom: none; }
  .footer-btn { padding: 14px; font-size: 12px; }
  .footer-wordmark { font-size: clamp(80px, 22vw, 130px); bottom: -2%; }

  /* About page (/about.html) — headlines shrink, cards stack */
  .section.ab-section { padding: 84px 20px 56px; align-items: flex-start; }
  .ab-inner { max-width: none; }
  .ab-eyebrow { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 16px; gap: 8px; }
  .ab-eyebrow-num { font-size: 13px; }
  .ab-headline { font-size: clamp(28px, 8vw, 44px); line-height: 1.1; margin-bottom: 20px; }
  .ab-body { font-size: 15px; line-height: 1.6; gap: 14px; }
  .ab-cards { grid-template-columns: 1fr; gap: 14px; }
  .ab-card { padding: 24px 20px; gap: 10px; }
  .ab-card-num { font-size: 28px; }
  .ab-card-title { font-size: 19px; }
  .ab-card p { font-size: 14px; }
  .ab-quote { font-size: 17px; padding-left: 14px; margin-top: 8px; }
  .ab-team-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .ab-team-photo { width: 80px; height: 80px; }
  .ab-team-name { font-size: 21px; }
  .ab-team-bio { font-size: 14px; }

  /* Pricing page (/pricing.html) — cards stack, headline shrinks */
  .section.pr-section { padding: 84px 20px 56px; align-items: flex-start; }
  .pr-inner { max-width: none; }
  .pr-headline { font-size: clamp(30px, 8.5vw, 44px); line-height: 1.1; margin-bottom: 16px; }
  .pr-lede { font-size: 15px; margin-bottom: 32px; }
  .pr-cards { grid-template-columns: 1fr; gap: 14px; max-width: none; margin: 0; }
  .pr-card-band { min-height: 100px; padding: 22px 20px; }
  .pr-card-name { font-size: 21px; }
  .pr-card-tag { font-size: 14px; }
  .pr-card-price { padding: 18px 20px 6px; }
  .pr-currency { font-size: 22px; }
  .pr-amount { font-size: 38px; }
  .pr-per { font-size: 13px; }
  .pr-card-cta { padding: 6px 20px 4px; }
  .pr-card-section { padding: 18px 20px 0; }
  .pr-card-section-last { padding-bottom: 26px; }
  .pr-section-label { font-size: 14px; }
  .pr-features li { font-size: 14px; }
  .pr-cta { height: 42px; font-size: 12px; }
  .pr-note { font-size: 12px; margin-top: 32px; }
}

/* ---- Extra small (< 400px) ---- */
@media (max-width: 400px) {
  /* Nav — shrink to fit the tightest phones */
  .side-nav { padding: 8px 12px; }
  .nav-logo { font-size: 17px; }
  .nav-actions { gap: 5px; }
  .side-nav .btn-cta {
    height: 30px;
    padding: 0 10px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
  .side-nav .btn-shopify { height: 30px; padding: 0 8px; }
  .side-nav .btn-shopify-icon { width: 15px; height: 15px; }

  /* Homepage */
  .hero-headline { font-size: clamp(30px, 9vw, 40px); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-cell-text p { font-size: 11px; }
  .tryon-panel { min-height: 220px; }
  .footer-heading { font-size: 24px; }

  /* About page */
  .section.ab-section { padding: 76px 16px 48px; }
  .ab-headline { font-size: clamp(24px, 8vw, 36px); }
  .ab-body { font-size: 14px; }

  /* Pricing page */
  .section.pr-section { padding: 76px 16px 48px; }
  .pr-headline { font-size: clamp(26px, 9vw, 38px); }
  .pr-amount { font-size: 34px; }
  .pr-card-band { padding: 20px 18px; }
  .pr-card-price { padding: 16px 18px 6px; }
  .pr-card-cta { padding: 6px 18px 4px; }
  .pr-card-section { padding: 16px 18px 0; }
}

/* ============================================================
   DEMO PAGE — /demo
   Storefront mockup on the left, actual Amora widget UI on the
   right. Tokens mirror the widget's real Shopify-app scoped vars
   so the preview looks identical to what shoppers see.
   ============================================================ */
.dm-body-page { background: #ffffff; }
html:has(.dm-body-page) { scroll-snap-type: none; }

.section.dm-section {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  scroll-snap-align: none;
  display: block;
  padding: 120px 48px 100px;
  background: #ffffff;
  color: var(--brown);
}

.dm-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────────── */
.dm-eyebrow {
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dm-eyebrow-mark { color: var(--red); font-size: 14px; opacity: 1; }

.dm-headline {
  font-family: var(--font-serif);
  font-weight: 300;              /* Canela Light — matches pricing */
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--brown);
  max-width: 820px;
}
.dm-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.dm-lede {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 40px;
  color: var(--brown);
  opacity: 0.75;
}

/* ── Product picker ─────────────────────────────────────────── */
.dm-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.dm-product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #ffffff;
  border: 1.5px solid rgba(55, 39, 19, 0.12);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  font-family: var(--font-sans);
}
.dm-product-card:hover {
  border-color: rgba(55, 39, 19, 0.35);
  transform: translateY(-1px);
}
.dm-product-card.is-active {
  border-color: var(--brown);
  background: #FBF8F2;
}

.dm-product-thumb {
  width: 64px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #ECE6D8;
  flex-shrink: 0;
}
.dm-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dm-product-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dm-product-brand {
  font-size: 10px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}
.dm-product-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 16px;
  color: var(--brown);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dm-product-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  opacity: 0.85;
}

/* ── Stage (single-column mockup) ───────────────────────────── */
.dm-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

/* Storefront mockup */
.dm-mock {
  background: #ffffff;
  border: 1px solid rgba(55, 39, 19, 0.12);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 960px;
  box-shadow: 0 16px 40px rgba(55, 39, 19, 0.08);
}
.dm-mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(55, 39, 19, 0.08);
  background: #F7F3EB;
}
.dm-mock-dots { display: flex; gap: 5px; }
.dm-mock-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #D8C9B8;
}
.dm-mock-url {
  flex: 1;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 11px;
  color: rgba(55, 39, 19, 0.5);
  padding: 4px 10px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(55, 39, 19, 0.08);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dm-mock-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 0;
}

.dm-mock-image-wrap {
  position: relative;
  background: #F7F3EB;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dm-mock-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The actual "Try On" button pinned on top of the image */
.dm-mock-tryon-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #372713;
  color: #ECE6D8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(55, 39, 19, 0.22);
}
.dm-mock-tryon-btn:hover { background: #4D4828; box-shadow: 0 4px 14px rgba(55, 39, 19, 0.3); }
.dm-mock-tryon-btn svg { width: 14px; height: 14px; }

/* Swap thumbnail — top-right of the mock image once a result exists,
   click to toggle between original photo and try-on result. */
.dm-swap-thumb {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.dm-swap-thumb[hidden] { display: none; }
.dm-swap-thumb:hover { transform: scale(1.05); }
.dm-swap-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Result actions — bottom-right of the mock image while a result is shown */
.dm-result-actions {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.dm-result-actions[hidden] { display: none; }
.dm-result-action-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(20, 14, 6, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: filter 0.15s ease;
}
.dm-result-action-btn:hover { filter: brightness(1.15); }
.dm-result-action-btn svg { width: 16px; height: 16px; }

.dm-mock-info {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  background: #ffffff;
}
.dm-mock-brand {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(55, 39, 19, 0.55);
}
.dm-mock-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--brown);
  margin: 0;
}
.dm-mock-price {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--brown);
}
.dm-mock-cta {
  margin-top: 8px;
  padding: 13px 20px;
  background: #111;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ── Amora widget modal (opens on Try On click) ─────────────── */
.dm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
  box-sizing: border-box;
}
.dm-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.dm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 18, 6, 0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.dm-modal.is-open .dm-modal-backdrop { opacity: 1; }

.dm-widget {
  position: relative;
  z-index: 1;
  background: #FBF8F2;
  border: 1px solid #D8C9B8;
  border-radius: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  box-shadow: 0 24px 72px rgba(30, 18, 6, 0.28), 0 4px 16px rgba(30, 18, 6, 0.12);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.34, 1.12, 0.64, 1), opacity 0.26s ease;
}
.dm-modal.is-open .dm-widget {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dm-widget-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #D8C9B8;
}

.dm-widget-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #ede6d9;
  cursor: pointer;
  color: #6B5B4E;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.dm-widget-close:hover { background: #D9C4B1; color: #372713; }
.dm-widget-close svg { width: 14px; height: 14px; }

/* Hint under Add to cart telling the user what to click */
.dm-mock-hint {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(55, 39, 19, 0.55);
  margin-top: 4px;
  line-height: 1.5;
}
.dm-mock-hint strong { color: var(--brown); font-weight: 600; }
.dm-widget-brand { display: flex; align-items: center; gap: 6px; }
.dm-widget-mark  { color: #A39670; font-size: 14px; }
.dm-widget-name  {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #372713;
}
.dm-widget-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #9A8A7E;
  padding: 2px 7px;
  background: #ede6d9;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.dm-widget-body { padding: 20px 18px 4px; flex: 1; }
.dm-state[hidden] { display: none; }

/* Upload */
.dm-widget-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #372713;
  margin-bottom: 4px;
}
.dm-widget-hint {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #9A8A7E;
  margin-bottom: 14px;
}
.dm-tips {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dm-tips li {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #6B5B4E;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.dm-tips li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: -1px;
  color: #A39670;
  font-size: 16px;
  line-height: 1;
}

.dm-dropzone {
  display: block;
  width: 100%;
  border: 1.5px dashed #D9C4B1;
  border-radius: 12px;
  background: #ffffff;
  padding: 28px 20px;
  margin-bottom: 14px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: var(--font-sans);
}
.dm-dropzone:hover {
  border-color: #A39670;
  background: #FBF8F2;
  box-shadow: 0 0 0 3px rgba(163, 150, 112, 0.14);
}
.dm-dropzone-icon {
  width: 48px; height: 48px;
  background: #ede6d9;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  color: #A39670;
}
.dm-dropzone-icon svg { width: 26px; height: 26px; }
.dm-dropzone-text {
  font-size: 14px;
  color: #6B5B4E;
  line-height: 1.55;
  margin-bottom: 4px;
}
.dm-dropzone-link {
  color: #4D4828;
  font-weight: 600;
  text-decoration: underline;
}
.dm-dropzone-sub {
  font-size: 11px;
  color: #9A8A7E;
}

.dm-primary-btn {
  display: block;
  width: 100%;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: #372713;
  color: #ECE6D8;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(55, 39, 19, 0.22);
}
.dm-primary-btn:hover:not(:disabled) {
  background: #4D4828;
  box-shadow: 0 4px 16px rgba(55, 39, 19, 0.3);
}
.dm-primary-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.dm-text-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: #4D4828;
  text-decoration: underline;
  padding: 0;
  display: block;
  margin: 12px auto 0;
}

/* Preview (fake selected photo) */
.dm-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 18px;
  gap: 10px;
}
.dm-preview-img {
  width: 130px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid #D8C9B8;
}
.dm-preview-name {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #9A8A7E;
}

/* Loading */
.dm-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 30px;
  gap: 12px;
}
.dm-spinner svg {
  width: 48px; height: 48px;
  animation: dm-rotate 1s linear infinite;
}
.dm-spinner circle {
  stroke: #372713;
  stroke-linecap: round;
  stroke-dasharray: 60 200;
  fill: none;
  stroke-width: 3;
  animation: dm-dash 1.5s ease-in-out infinite;
}
@keyframes dm-rotate { to { transform: rotate(360deg); } }
@keyframes dm-dash {
  0%   { stroke-dasharray: 1 200;  stroke-dashoffset: 0; }
  50%  { stroke-dasharray: 80 200; stroke-dashoffset: -30px; }
  100% { stroke-dasharray: 80 200; stroke-dashoffset: -112px; }
}
.dm-loading-msg {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #372713;
}
.dm-loading-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #9A8A7E;
}

/* Result */
.dm-result-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #ede6d9;
  animation: dm-pop 0.4s cubic-bezier(0.34, 1.12, 0.64, 1);
  margin-bottom: 14px;
}
@keyframes dm-pop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.dm-result-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  display: block;
}
.dm-result-actions { display: flex; gap: 8px; }
.dm-result-actions .dm-primary-btn { flex: 1; }

.dm-widget-footer {
  padding: 12px 18px 16px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 11px;
  color: #9A8A7E;
  letter-spacing: 0.02em;
  border-top: 1px solid #ede6d9;
  margin-top: 12px;
}
.dm-widget-footer strong { color: #6B5B4E; font-weight: 600; }

/* Small demo watermark so users know results are pre-generated */
.dm-demo-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(55, 39, 19, 0.5);
  text-align: center;
  margin-top: 20px;
}

/* ── Numbered steps ─────────────────────────────────────────── */
.dm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0 0;
  border-top: 1px solid rgba(55, 39, 19, 0.1);
}
.dm-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dm-step-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  color: var(--green);
  line-height: 1;
}
.dm-step-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--brown);
  line-height: 1.3;
}
.dm-step-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: rgba(55, 39, 19, 0.7);
  line-height: 1.55;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .section.dm-section { padding: 110px 32px 80px; }
  .dm-picker { grid-template-columns: 1fr; }
  .dm-mock-body { grid-template-columns: 1fr; }
  .dm-mock-image-wrap { min-height: 380px; }
  .dm-steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section.dm-section { padding: 86px 20px 56px; }
  .dm-headline { font-size: clamp(28px, 8vw, 42px); }
  .dm-lede { font-size: 15px; margin-bottom: 28px; }
  .dm-product-card { padding: 10px; gap: 12px; }
  .dm-product-thumb { width: 56px; height: 68px; }
  .dm-product-name { font-size: 15px; }
  .dm-mock-image-wrap { min-height: 320px; }
  .dm-mock-info { padding: 22px 20px; }
  .dm-mock-name { font-size: 22px; }
  .dm-widget-body { padding: 18px 16px 4px; }
  .dm-dropzone { padding: 22px 16px; }
  .dm-step-num { font-size: 28px; }
  .dm-step-title { font-size: 17px; }
}

/* ── Mobile modal: bottom sheet ─────────────────────────────── */
@media (max-width: 520px) {
  .dm-modal { padding: 0; align-items: flex-end; }
  .dm-widget {
    border-radius: 22px 22px 0 0;
    max-width: none;
    max-height: 95vh;
    transform: translateY(100%) scale(1);
  }
  .dm-modal.is-open .dm-widget {
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   GET STARTED PAGE — /get-started
   Two integration paths (Shopify / Direct API), each with a
   numbered step timeline. Content mirrors the in-dashboard
   SetupGuide, marketing-ified and with placeholder credentials.
   ============================================================ */
.gs-body-page { background: #ffffff; }
html:has(.gs-body-page) { scroll-snap-type: none; }

.section.gs-section {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  scroll-snap-align: none;
  display: block;
  padding: 120px 48px 100px;
  background: #ffffff;
  color: var(--brown);
}

.gs-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* Header */
.gs-eyebrow {
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gs-eyebrow-mark { color: var(--red); font-size: 14px; opacity: 1; }

.gs-headline {
  font-family: var(--font-serif);
  font-weight: 300;              /* Canela Light — matches pricing */
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--brown);
  max-width: 820px;
}
.gs-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.gs-lede {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 40px;
  color: var(--brown);
  opacity: 0.75;
}

/* Path picker */
.gs-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.gs-path-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: #ffffff;
  border: 1.5px solid rgba(55, 39, 19, 0.12);
  border-radius: 16px;
  text-decoration: none;
  color: var(--brown);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.gs-path-card:hover {
  border-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(55, 39, 19, 0.08);
}
.gs-path-icon {
  width: 44px;
  height: 44px;
  color: var(--green);
}
.gs-path-icon svg { width: 100%; height: 100%; }
.gs-path-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gs-path-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--brown);
  line-height: 1.2;
}
.gs-path-badge {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid;
}
.gs-path-badge-green {
  color: #3E7A52;
  border-color: #3E7A52;
  background: rgba(62, 122, 82, 0.08);
}
.gs-path-badge-blue {
  color: #2B4C86;
  border-color: #2B4C86;
  background: rgba(43, 76, 134, 0.08);
}
.gs-path-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brown);
  opacity: 0.75;
  flex: 1;
}
.gs-path-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  margin-top: 4px;
}
.gs-path-cta svg { width: 14px; height: 14px; }

/* Dark brown hero variant (first section) — matches the landing footer */
.section.gs-hero-section {
  background: var(--brown);
  color: var(--beige);
  min-height: auto;              /* let content decide the height */
  padding-bottom: 80px;
}
.gs-hero-section .gs-eyebrow  { color: var(--beige); opacity: 0.75; }
.gs-hero-section .gs-headline { color: var(--beige); }
.gs-hero-section .gs-lede     { color: var(--beige); opacity: 0.75; }
.gs-hero-section .gs-picker   { margin-bottom: 0; }

/* Picker cards on dark bg — cards stay white so they pop */
.gs-hero-section .gs-path-card {
  border-color: rgba(255, 255, 255, 0.12);
}
.gs-hero-section .gs-path-card:hover {
  border-color: var(--beige);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* First guide sits flush against the hero — kill its top border */
.section.gs-section:not(.gs-hero-section) .gs-guide:first-child {
  padding-top: 0;
  border-top: none;
}

/* Guide sections */
.gs-guide {
  padding-top: 40px;
  border-top: 1px solid rgba(55, 39, 19, 0.1);
  margin-bottom: 60px;
  scroll-margin-top: 96px;
}
.gs-guide-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.gs-guide-head-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.gs-install-btn {
  flex-shrink: 0;
}
/* Install-on-Shopify button sits on a white section, so give the plain
   .btn-shopify (transparent border by default) a visible outline + tiny
   drop shadow so it reads as a button and not floating text. */
.gs-install-btn.btn-shopify {
  border-color: rgba(55, 39, 19, 0.18);
  box-shadow: 0 2px 6px rgba(55, 39, 19, 0.08);
}
.gs-install-btn.btn-shopify:hover {
  border-color: var(--brown);
  background: var(--light);
}
.gs-guide-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 34px;
  color: var(--green);
  line-height: 1;
}
.gs-guide-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--brown);
  line-height: 1.2;
}
.gs-guide-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--brown);
  opacity: 0.7;
}

/* Numbered step timeline */
.gs-steps { display: flex; flex-direction: column; }
.gs-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}
.gs-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: rgba(55, 39, 19, 0.12);
}
.gs-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(163, 150, 112, 0.15);
  border: 2px solid var(--green);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.gs-step-body { padding-top: 8px; min-width: 0; }
.gs-step-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--brown);
  margin-bottom: 12px;
  line-height: 1.4;
}
.gs-step-body p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--brown);
  opacity: 0.85;
  margin: 0 0 12px;
}
.gs-step-body p strong { font-weight: 600; opacity: 1; }
.gs-step-body p:last-child { margin-bottom: 0; }
.gs-step-body a {
  color: var(--darkgreen);
  border-bottom: 1px solid var(--darkgreen);
  text-decoration: none;
  font-weight: 600;
}
.gs-step-body a:hover { color: var(--brown); border-bottom-color: var(--brown); }

/* Code blocks — dark GitHub-style, on-brand */
.gs-code {
  background: #2A1F12;
  color: #ECE6D8;
  border-radius: 10px;
  padding: 16px 18px;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 12px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 8px 0 4px;
}
.gs-code .k { color: #A39670; }             /* keywords / URLs */
.gs-code .s { color: #D9C4B1; }             /* strings */
.gs-code .c { color: #6B5B4E; font-style: italic; } /* comments */

/* Inline code chip */
.gs-ic {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 12px;
  background: rgba(55, 39, 19, 0.08);
  color: var(--darkgreen);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Tip callout */
.gs-tip {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(163, 150, 112, 0.12);
  border: 1px solid var(--green);
  border-radius: 10px;
  margin: 8px 0 4px;
}
.gs-tip-icon {
  width: 16px;
  height: 16px;
  color: var(--darkgreen);
  flex-shrink: 0;
  margin-top: 2px;
}
.gs-tip p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--darkgreen);
  opacity: 1;
  margin: 0;
}

/* Closing CTA */
.gs-closing {
  padding: 48px;
  background: var(--brown);
  color: var(--beige);
  border-radius: 16px;
  margin-top: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.gs-closing h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  color: var(--beige);
}
.gs-closing p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--beige);
  opacity: 0.85;
  max-width: 520px;
}
.gs-closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--beige);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 8px;
  transition: transform 0.15s, background 0.15s;
}
.gs-closing-cta:hover {
  background: var(--light);
  transform: scale(1.02);
}

/* Contact form at the bottom of /get-started — for shoppers who
   don't want to email or self-serve. Same-ID fields (f-name etc.)
   so the existing script.js handler picks it up. */
.gs-contact {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  background: #FBF8F2;
  border: 1px solid rgba(55, 39, 19, 0.08);
  border-radius: 16px;
  align-items: start;
}
.gs-contact-head h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  color: var(--brown);
  margin-bottom: 10px;
}
.gs-contact-head p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brown);
  opacity: 0.75;
  max-width: 360px;
}
.gs-contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gs-contact-row {
  display: flex;
  gap: 10px;
}
.gs-contact-input {
  flex: 1;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(55, 39, 19, 0.15);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--brown);
  outline: none;
  min-width: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gs-contact-input:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(55, 39, 19, 0.08);
}
.gs-contact-input::placeholder { color: rgba(55, 39, 19, 0.45); }
.gs-contact-btn {
  padding: 13px 20px;
  background: var(--brown);
  color: var(--beige);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  margin-top: 4px;
}
.gs-contact-btn:hover { transform: scale(1.01); background: var(--darkgreen); }
.gs-contact-error {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--red);
  margin-top: -6px;
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  max-width: 560px;
  margin: 0 auto;
  background: var(--brown);
  color: var(--beige);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  font-family: var(--font-sans);
}
.cookie-banner p {
  flex: 1 1 240px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}
.cookie-banner p a { color: var(--beige); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner-accept {
  padding: 9px 16px;
  background: var(--beige);
  color: var(--brown);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 7px;
  cursor: pointer;
}
.cookie-banner-decline {
  padding: 9px 14px;
  background: transparent;
  color: var(--beige);
  font-weight: 500;
  font-size: 12px;
  border: 1px solid rgba(217, 196, 177, 0.4);
  border-radius: 7px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .gs-contact {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
  }
  .gs-contact-row { flex-direction: column; }
}

/* ============================================================
   SITE FOOTER — shared slim footer used on every page
   ============================================================ */
.site-footer {
  background: var(--brown);
  color: var(--beige);
  padding: 56px 48px 24px;
  /* Landing uses scroll-snap: y mandatory — without a snap-align
     here, scrolling into the footer bounces back to the last
     .section. `end` snaps the footer's bottom to the viewport's
     bottom so it comes fully into view instead. */
  scroll-snap-align: end;
}
.site-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(217, 196, 177, 0.15);
}

.site-footer-brand { display: flex; flex-direction: column; gap: 8px; }
.site-footer-logo {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  color: var(--beige);
  line-height: 1;
  letter-spacing: 0.01em;
}
.site-footer-tag {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--beige);
  opacity: 0.7;
  max-width: 280px;
}

.site-footer-col { display: flex; flex-direction: column; gap: 14px; }
.site-footer-heading {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0.55;
}
.site-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer-links a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--beige);
  opacity: 0.82;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s;
  word-break: break-word;
}
.site-footer-links a:hover { opacity: 1; }
.site-footer-links svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
}
.site-footer-note {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--beige);
  opacity: 0.55;
  margin: 0;
}

.site-footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--beige);
  opacity: 0.55;
}
.site-footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 22px;
}
.site-footer-legal a {
  color: var(--beige);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.site-footer-legal a:hover { opacity: 1; }

/* Responsive */
@media (max-width: 900px) {
  .site-footer { padding: 44px 32px 20px; }
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 28px;
  }
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 18px;
  }
}
@media (max-width: 600px) {
  .site-footer { padding: 36px 20px 20px; }
  .site-footer-logo { font-size: 22px; }
  .site-footer-tag { font-size: 13px; }
}

/* Get Started nav button — replaces the Shopify install button */
.btn-cta-outline {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  background: transparent;
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--brown);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-cta-outline:hover {
  transform: scale(1.02);
  background: var(--brown);
  color: var(--beige);
}
.btn-cta-arrow { width: 13px; height: 13px; flex-shrink: 0; }

/* Compact nav sizing */
.side-nav .btn-cta-outline {
  height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-width: 1.5px;
}
/* Light variant (over dark hero/why/footer): beige border/text so it's visible */
.side-nav-light .btn-cta-outline {
  color: var(--beige);
  border-color: var(--beige);
}
.side-nav-light .btn-cta-outline:hover {
  background: var(--beige);
  color: var(--brown);
  border-color: var(--beige);
}

/* Responsive */
@media (max-width: 900px) {
  .section.gs-section { padding: 110px 32px 80px; }
  .gs-picker { grid-template-columns: 1fr; }
  .gs-closing { padding: 36px 28px; }
}
@media (max-width: 600px) {
  .section.gs-section { padding: 86px 20px 56px; }
  .gs-headline { font-size: clamp(28px, 8vw, 44px); }
  .gs-lede { font-size: 15px; margin-bottom: 32px; }
  .gs-picker { gap: 14px; margin-bottom: 60px; }
  .gs-path-card { padding: 24px 22px; gap: 12px; }
  .gs-path-title { font-size: 20px; }
  .gs-guide { padding-top: 32px; }
  .gs-guide-head { gap: 10px; margin-bottom: 24px; }
  .gs-guide-num { font-size: 26px; }
  .gs-guide-sub { display: none; }
  .gs-step { grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 28px; }
  .gs-step-num { width: 34px; height: 34px; font-size: 13px; }
  .gs-step:not(:last-child)::before { left: 16px; top: 34px; }
  .gs-step-title { font-size: 15px; }
  .gs-code { font-size: 11px; padding: 14px 14px; }
  .gs-closing { padding: 32px 22px; }
  .gs-closing-cta { width: 100%; justify-content: center; }
  .side-nav .btn-cta-outline { height: 32px; padding: 0 12px; font-size: 11px; }
}

/* ============================================================
   ABOUT PAGE — /about.html
   Uses the same .section class as the homepage for the observer
   + fade-in, but overrides the fixed 100vh height so long-form
   copy can breathe without being clipped, and disables snap.
   ============================================================ */
.section.ab-section {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  scroll-snap-align: none;
  display: flex;
  align-items: center;
  padding: 140px 80px 100px;
}

/* On the about page the snap container itself should stand down */
html:has(.ab-body-page) { scroll-snap-type: none; }

.ab-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.ab-eyebrow {
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ab-eyebrow-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  opacity: 1;
}

.ab-headline {
  font-family: var(--font-serif);
  font-weight: 300;              /* Canela Light — matches pricing */
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  max-width: 960px;
}
.ab-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}

.ab-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ab-body strong {
  font-weight: 600;
}

/* Section variants — colors match the existing palette */
.ab-what {
  background: var(--light);
  color: var(--brown);
}
.ab-why {
  background: var(--red);
  color: var(--beige);
}
.ab-how {
  background: var(--darkgreen);
  color: var(--beige);
}
.ab-team {
  background: var(--light);
  color: var(--brown);
}

/* Team grid — two portraits with role + bio */
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
  max-width: 720px;
}

.ab-team-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ab-team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--beige);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 18px rgba(55, 39, 19, 0.08);
}
.ab-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ab-team-photo-placeholder {
  background: var(--green);
}
.ab-team-photo-placeholder span {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  color: var(--brown);
  line-height: 1;
}

.ab-team-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--brown);
  line-height: 1.2;
}

.ab-team-role {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.55;
  margin-bottom: 4px;
}

.ab-team-bio {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--brown);
  opacity: 0.85;
  max-width: 320px;
}

.ab-team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 12px;
  padding: 8px 14px;
  background: transparent;
  color: var(--brown);
  border: 1px solid rgba(55, 39, 19, 0.25);
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ab-team-linkedin:hover {
  background: var(--brown);
  color: var(--beige);
  border-color: var(--brown);
}
.ab-team-linkedin svg { width: 14px; height: 14px; }

/* HOW section — 3 numbered cards side by side */
.ab-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
  max-width: none;
}

.ab-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px 26px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ab-card-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 34px;
  color: var(--green);
  line-height: 1;
}
.ab-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--beige);
}
.ab-card p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--beige);
  opacity: 0.88;
  max-width: none;
}

/* WHY — pull-quote flourish */
.ab-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.5;
  color: var(--beige);
  opacity: 0.85;
  border-left: 2px solid var(--beige);
  padding-left: 20px;
  margin-top: 12px;
  max-width: 620px;
}

/* Responsive */
@media (max-width: 900px) {
  .section.ab-section { padding: 120px 32px 80px; }
  .ab-cards { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .section.ab-section { padding: 96px 20px 60px; }
  .ab-eyebrow { font-size: 11px; margin-bottom: 20px; }
  .ab-headline { margin-bottom: 24px; }
  .ab-body { font-size: 15px; }
  .ab-card { padding: 24px 20px; }
}

/* ============================================================
   PRICING PAGE — /pricing.html
   White background per spec; brown text; cards float on the page
   with a subtle border. The featured tier inverts (brown bg /
   beige text) to stand out.
   ============================================================ */
.pr-body-page { background: #ffffff; }
html:has(.pr-body-page) { scroll-snap-type: none; }

.section.pr-section {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  scroll-snap-align: none;
  display: flex;
  align-items: flex-start;
  padding: 140px 80px 100px;
  background: #ffffff;
  color: var(--brown);
}

.pr-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.pr-headline {
  font-family: var(--font-serif);
  font-weight: 300;              /* Canela Light */
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--brown);
  text-align: center;
}
.pr-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.pr-lede {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 48px;
  color: rgba(55, 39, 19, 0.6);
  text-align: center;
}

/* ---- Cards ------------------------------------------------
   Layout follows the reference design: a flat white card with a
   coloured band across the top carrying the plan name, then price,
   CTA, and two labelled feature groups. Sections are separated by
   padding rhythm rather than rules.
   ----------------------------------------------------------- */
.pr-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;          /* every card matches the tallest */
  max-width: 1040px;
  margin: 0 auto;
}

.pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #FFFFFC;
  border: 1px solid rgba(55, 39, 19, 0.10);
  border-radius: 12px;
  color: var(--brown);
}

/* Featured plan — a warm cream wash fading to white down the card,
   the way the reference highlights its most-popular tier. The band
   and badge carry the rest of the emphasis, so this stays soft. */
.pr-card-featured {
  background: linear-gradient(180deg, #F6DFE0 0%, #FFFFFB 100%);
  border-color: rgba(125, 32, 39, 0.30);
  box-shadow: 0 14px 30px rgba(55, 39, 19, 0.10);
}

/* Coloured band ------------------------------------------------ */
.pr-card-band {
  position: relative;
  min-height: 117px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: var(--light);
}
.pr-band-custom { background: linear-gradient(135deg, #A39670 0%, #7E7350 100%); }
.pr-band-growth { background: linear-gradient(135deg, #7D2027 0%, #4E1318 100%); }
.pr-band-scale  { background: linear-gradient(135deg, #4D4828 0%, #372713 100%); }

.pr-card-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 252, 0.92);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.pr-card-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--light);
}
.pr-card-tag {
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(236, 230, 216, 0.82);
}

/* Price -------------------------------------------------------- */
.pr-card-price { padding: 20px 24px 8px; }

.pr-price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0;
}
.pr-currency {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
}
.pr-amount {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}
.pr-per {
  margin: 2px 0 0;
  font-family: var(--font-alt);
  font-weight: 400;
  font-size: 14px;
  color: rgba(55, 39, 19, 0.45);
}

/* CTA ---------------------------------------------------------- */
.pr-card-cta { padding: 8px 24px 4px; }

.pr-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 0 20px;
  background: var(--brown);
  color: var(--light);
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.pr-cta:hover {
  background: var(--darkgreen);
  transform: translateY(-1px);
}
.pr-card-featured .pr-cta { background: var(--red); }
.pr-card-featured .pr-cta:hover { background: #5E181D; }

/* Feature groups ----------------------------------------------- */
.pr-card-section { padding: 20px 24px 0; }
.pr-card-section-last { padding-bottom: 32px; }

.pr-section-label {
  margin-bottom: 12px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 15px;
  color: var(--brown);
}

.pr-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pr-features li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(55, 39, 19, 0.62);
}
/* Stroked tick, matching the reference: a 10x7 check with round caps,
   masked so it picks up the list item's own colour rather than an
   accent — the reference keeps the tick the same muted tone as the text. */
.pr-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 8px;
  background-color: currentColor;
  -webkit-mask: var(--tick) no-repeat center / contain;
  mask: var(--tick) no-repeat center / contain;
}

.pr-note {
  margin-top: 40px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--brown);
  opacity: 0.65;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .section.pr-section { padding: 120px 32px 80px; }
  .pr-cards { grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin: 0 auto; }
  .pr-card { padding: 32px 26px; }
}
@media (max-width: 600px) {
  .section.pr-section { padding: 96px 20px 60px; }
  .pr-lede { margin-bottom: 36px; }
}

/* ============================================================
   MOBILE NAV MENU
   Below 860px the section links no longer fit beside the logo and
   the CTAs, so they collapse into a hamburger-triggered dropdown
   that hangs off the bottom of the fixed bar. GET STARTED moves
   into that dropdown too; SIGN UP stays visible in the bar.
   ============================================================ */

/* Hamburger — desktop hides it, the dropdown-only CTA item too */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  padding: 0;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 240ms ease, opacity 180ms ease;
}
.nav-menu-cta { display: none; }

@media (max-width: 860px) {
  /* Bar becomes: logo · SIGN UP · hamburger */
  .side-nav {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .nav-toggle { display: inline-flex; }
  .side-nav .btn-cta-outline { display: none; }   /* lives in the dropdown instead */
  .nav-menu-cta { display: block; }

  /* Hamburger morphs into an X while the menu is open */
  .side-nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .side-nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .side-nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  /* The links themselves — a solid panel under the bar, always brown/beige
     so it stays legible over both the light and dark nav variants. */
  .side-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* the bar's desktop rule centres the list; abspos boxes still honour
       self-alignment, which would shrink-wrap the panel — stretch it back */
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4px 20px 10px;
    background: var(--brown);
    border-bottom: 1px solid rgba(217, 196, 177, 0.16);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  }
  .side-nav.nav-open ul { display: flex; }

  .side-nav ul .nav-link {
    display: block;
    width: 100%;
    padding: 14px 2px;
    font-size: 13px;
    letter-spacing: 0.09em;
    color: var(--beige);
    border-bottom: 1px solid rgba(217, 196, 177, 0.14);
  }
  .side-nav ul li:last-child .nav-link { border-bottom: none; }
  .side-nav ul .nav-link::after { display: none; }  /* no underline sweep in the panel */
  .side-nav ul .nav-link.active { font-weight: 600; }
}

/* ============================================================
   PRICING — REGION-BASED FIGURES
   Indian and non-Indian brands pay the same monthly price but get
   different try-on allowances, so each varying figure ships twice
   in the markup and CSS reveals the right one. The region attribute
   is set on <html> before paint (see the inline script in
   pricing.html), so nothing flashes and there is nothing to click.
   Non-India is the default — it also covers the no-JS case, where
   the attribute is never set at all.
   ============================================================ */
:root[data-region="in"] .px-intl { display: none; }
:root:not([data-region="in"]) .px-in { display: none; }

/* ============================================================
   PRODUCTS PAGE — /products.html
   Same full-height section rhythm as the about page: a numbered
   eyebrow, a thin Canela headline, body copy, then cards. Colours
   alternate light / red / dark green so the nav keeps flipping
   between its light and dark variants as you scroll.
   ============================================================ */
.section.pd-section {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  scroll-snap-align: none;
  display: flex;
  align-items: flex-start;
  padding: 140px 80px 100px;
}
html:has(.pd-body-page) { scroll-snap-type: none; }

/* The intro is only a headline, a line of lede and a two-item index, but the
   rule above forces every section to a full viewport with its content pinned
   to the top — which left a screenful of white under it before AI Virtual
   Try-On began. It sizes to its content instead. */
.section.pd-section.pd-intro {
  min-height: 0;
  padding-bottom: 84px;
}

.pd-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

/* White ground with coffee ink, same as the pricing and how-it-works
   pages. A hairline separates the full-height sections. */
.pd-intro,
.pd-tryon,
.pd-sizechart { background: #ffffff; color: var(--coffee); }
.pd-tryon,
.pd-sizechart { border-top: 1px solid rgba(73, 48, 17, 0.12); }

.pd-eyebrow {
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-eyebrow-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  opacity: 1;
}

/* Headlines match the pricing page — Canela Light */
.pd-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 960px;
}
.pd-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}
.pd-headline-lead { margin-bottom: 20px; }

.pd-lede {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  max-width: 620px;
  color: rgba(73, 48, 17, 0.62);
  margin-bottom: 48px;
}

.pd-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* "Coming soon" pill ------------------------------------------- */
.pd-soon {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.75;
}

/* Intro index -------------------------------------------------- */
.pd-index {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(73, 48, 17, 0.16);
  max-width: 720px;
}
.pd-index li { border-bottom: 1px solid rgba(73, 48, 17, 0.16); }
.pd-index a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--coffee);
  transition: opacity var(--transition), padding-left var(--transition);
}
.pd-index a:hover { opacity: 0.6; padding-left: 12px; }
.pd-index-num {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.45;
}

/* Product cards ------------------------------------------------ */
/* minmax(0, 1fr), not 1fr: a plain 1fr floors at the item's min-content
   width, and the storefront mock's URL is one long unbreakable string. On a
   phone that floor pushed the track wider than the page and gave the whole
   products page a horizontal scrollbar. */
.pd-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.pd-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 32px;
  border: 1px solid rgba(73, 48, 17, 0.12);
  border-radius: 16px;
  background: #FBF9F4;
}
.pd-card-kicker {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
}
.pd-card-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.pd-card-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}
.pd-card-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pd-card-list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.8;
}
.pd-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 8px;
  background-color: currentColor;
  -webkit-mask: var(--tick) no-repeat center / contain;
  mask: var(--tick) no-repeat center / contain;
}
.pd-card-link {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  transition: opacity var(--transition);
}
.pd-card-link:hover { opacity: 0.65; }

/* Size-chart CTA ----------------------------------------------- */
.pd-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  margin-top: 36px;
  padding: 0 26px;
  background: var(--coffee);
  color: var(--light);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
.pd-cta:hover { background: #331F0A; transform: translateY(-1px); }

@media (max-width: 900px) {
  .section.pd-section { padding: 110px 32px 72px; }
  .pd-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .section.pd-section { padding: 92px 20px 56px; align-items: flex-start; }
  .pd-eyebrow { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 18px; }
  .pd-headline { font-size: clamp(30px, 8.5vw, 44px); margin-bottom: 22px; }
  .pd-lede { font-size: 15px; margin-bottom: 32px; }
  .pd-body { font-size: 15px; }
  .pd-index a { font-size: 20px; padding: 18px 2px; gap: 14px; }
  .pd-cards { margin-top: 32px; }
  .pd-card { padding: 26px 22px; }
  .pd-card-title { font-size: 21px; }
  .pd-card-text { font-size: 14px; }
}

/* ------------------------------------------------------------
   PRODUCTS — VISUALS
   The try-on sequence uses the same before/garment/after assets
   the demo runs on. The storefront mock mirrors the real widget
   chrome from /demo, and the in-store card is a photograph of an
   actual kiosk rather than a drawn bezel.
   ------------------------------------------------------------ */

/* Sequence: shopper's photo -> garment -> generated try-on ---- */
.pd-strip {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pd-strip-item { display: flex; flex-direction: column; gap: 12px; }

.pd-shot {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #F5F1E8;
  border: 1px solid rgba(73, 48, 17, 0.10);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.pd-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
/* Flat-lay product shots sit centred rather than grounded */
.pd-shot-flat { align-items: center; }
.pd-shot-flat img { object-position: center; padding: 12%; }

.pd-shot-time {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--coffee);
  color: var(--light);
}
.pd-shot-cap {
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.8;
  display: flex;
  gap: 8px;
}
.pd-shot-num { font-weight: 700; opacity: 0.55; }

.pd-strip-note {
  margin-top: 22px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  opacity: 0.72;
}

/* Storefront widget mock — mirrors the chrome used on /demo ---- */
.pd-widget {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(73, 48, 17, 0.14);
  background: #ffffff;
  margin-bottom: 20px;
}
.pd-widget-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: rgba(55, 39, 19, 0.06);
  border-bottom: 1px solid rgba(55, 39, 19, 0.08);
}
.pd-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(55, 39, 19, 0.22); }
.pd-widget-url {
  margin-left: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(55, 39, 19, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-widget-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #F6F3EC;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.pd-widget-stage img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}
/* The real Try On pill, same shape and icon as the live widget */
.pd-widget-btn {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--light);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(55, 39, 19, 0.28);
}
.pd-widget-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.pd-widget-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px 16px;
}
.pd-widget-brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(55, 39, 19, 0.45);
}
.pd-widget-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 17px;
  color: var(--brown);
}
.pd-widget-price {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  color: var(--brown);
}

/* In-store kiosk photograph ------------------------------------ */
.pd-kiosk {
  margin: 0 0 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(73, 48, 17, 0.14);
  /* The source photograph is square, so a 1:1 frame shows the whole
     scene uncropped and lands at much the same height as the widget
     mock in the neighbouring card. */
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 252, 0.06);
}
.pd-kiosk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Size-chart section: copy on the left, product panel on the right */
.pd-inner-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}
.pd-split-copy .pd-body { max-width: 520px; }

/* ------------------------------------------------------------
   Analytics — a subsection of AI Virtual Try-On, not a product of
   its own, so it carries a small kicker rather than a page headline.
   Copy on the left, a stack of dashboard cards overlapping on the right.
   ------------------------------------------------------------ */
.pd-analytics {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: center;
  margin-top: 88px;
  padding-top: 64px;
  border-top: 1px solid rgba(73, 48, 17, 0.12);
}

.pd-an-kicker {
  font-family: var(--font-alt);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 0 16px;
}
.pd-an-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.pd-an-title em { font-style: italic; }
.pd-an-text {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.78;
  max-width: 460px;
  margin: 0 0 22px;
}
.pd-an-list { list-style: none; padding: 0; margin: 0; max-width: 460px; }
.pd-an-list li {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
  padding: 11px 0 11px 22px;
  border-top: 1px solid rgba(73, 48, 17, 0.12);
  position: relative;
  opacity: 0.82;
}
.pd-an-list li:last-child { border-bottom: 1px solid rgba(73, 48, 17, 0.12); }
.pd-an-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 19px;
  width: 9px; height: 1px;
  background: var(--coffee);
  opacity: 0.45;
}

/* The stack: three cards from the dashboard, layered. Absolute placement
   inside a fixed-height box, so they overlap the way they'd sit on a desk
   rather than tiling. Unstacks to a normal column on narrow screens. */
.pd-an-stack {
  position: relative;
  height: 396px;
  width: 100%;
}
.pd-an-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(73, 48, 17, 0.14);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 18px 44px rgba(73, 48, 17, 0.13);
  font-family: var(--font-sans);
  color: var(--coffee);
}
/* A diagonal cascade, top-left to bottom-left via the right: each card
   overlaps the next so the three read as one cluster rather than three
   things that happen to be near each other. */
.pd-an-card-chart  { top: 0;     left: 0;  width: 322px; z-index: 1; }
.pd-an-card-funnel { top: 150px; right: 0; width: 292px; z-index: 2; }
.pd-an-card-stat   { top: 262px; left: 0;  width: 208px; z-index: 3; }

.pd-an-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.pd-an-card-name { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.55; }
.pd-an-pills { display: inline-flex; gap: 4px; }
.pd-an-pills i {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  opacity: 0.45;
}
.pd-an-pills i.on { background: rgba(163, 150, 112, 0.22); color: var(--green); opacity: 1; }

.pd-an-total {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.1;
  margin: 6px 0 2px;
}
.pd-an-total span { font-family: var(--font-sans); font-size: 12px; opacity: 0.5; margin-left: 6px; }
.pd-an-spark { display: block; width: 100%; height: 92px; margin-top: 10px; }

/* Funnel rows: label, count, and a bar whose width is the share. */
.pd-an-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pd-an-row span { font-size: 12.5px; opacity: 0.72; }
.pd-an-row b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-an-bar { height: 7px; border-radius: 999px; background: rgba(73, 48, 17, 0.08); margin-top: 6px; overflow: hidden; }
.pd-an-bar i { display: block; height: 100%; width: var(--w); background: var(--c); border-radius: 999px; }

.pd-an-stat-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; margin: 0; }
.pd-an-stat-value { font-family: var(--font-serif); font-weight: 300; font-size: 40px; line-height: 1.05; margin: 10px 0 6px; }
.pd-an-stat-sub { font-size: 11.5px; color: var(--darkgreen); margin: 0; }

@media (max-width: 1040px) {
  .pd-analytics { grid-template-columns: 1fr; gap: 44px; }
  /* Overlapping needs room; below this the cards simply stack in order. */
  .pd-an-stack { height: auto; display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
  .pd-an-card { position: static; width: auto; }
}
@media (max-width: 600px) {
  .pd-analytics { margin-top: 56px; padding-top: 44px; }
  .pd-an-text { font-size: 15px; }
  .pd-an-stat-value { font-size: 34px; }
}

/* Storefront product panel — a merchant's page, so it keeps its own
   neutral styling rather than Amora's type. The recommended size and
   the fit-profile row are what Amora would contribute. */
.pd-panel { display: flex; flex-direction: column; gap: 12px; }
.pd-panel-card {
  background: #FCFAF7;
  border: 1px solid rgba(73, 48, 17, 0.12);
  border-radius: 16px;
  padding: 26px 24px 24px;
  font-family: var(--font-sans);
  color: #15191E;
}
.pd-panel-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pd-panel-price {
  margin-top: 6px;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.pd-panel-desc {
  margin-top: 10px;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.5;
  color: #616168;
}
.pd-panel-rule {
  height: 1px;
  background: #E4E0DB;
  margin: 18px 0;
}
.pd-panel-label {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: #15191E;
}
.pd-panel-label span { font-weight: 400; }

.pd-swatches { display: flex; gap: 14px; margin-top: 12px; }
.pd-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c);
  flex: none;
}
.pd-swatch-on {
  background-image: linear-gradient(130deg, #651422 0%, #941D28 100%);
  box-shadow: 0 0 0 2px #FCFAF7, 0 0 0 3.5px #7D2027;
}

.pd-panel-sizehead {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pd-panel-guide {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-alt);
  font-size: 12px;
  color: #252830;
}
.pd-chev {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  flex: none;
}

.pd-sizerow {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.pd-sizebtn {
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #D9D6D1;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #15191E;
}
.pd-sizebtn-on {
  background: #FBF1F0;
  border-color: var(--red);
  border-width: 2px;
}
/* The recommendation flag sits above the matched size */
.pd-yoursize {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: #811A24;
  color: #fff;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pd-yoursize::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -1px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #811A24;
}

.pd-fit {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: #F8F0EE;
  border-radius: 12px;
}
.pd-fit-icon {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--red);
}
.pd-fit-icon svg { width: 100%; height: 100%; }
.pd-fit-copy { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pd-fit-title {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 12.5px;
  color: #15191E;
}
.pd-fit-sub {
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1.35;
  color: #787B7F;
}
.pd-fit .pd-chev { color: #15191E; }

.pd-panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  height: 46px;
  border-radius: 11px;
  background: #1C1C1C;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.pd-panel-note {
  font-family: var(--font-alt);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.45;
  text-align: center;
}

@media (max-width: 900px) {
  .pd-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pd-inner-split { grid-template-columns: 1fr; gap: 40px; }
  .pd-panel { max-width: 420px; }
}

@media (max-width: 600px) {
  .pd-strip { margin-top: 32px; }
  .pd-shot-cap { font-size: 12px; }
  .pd-strip-note { font-size: 14px; }
  .pd-sizes { padding: 18px; }
}
