/* Skin Trix landing — page styles
   Buttons are from the Glowtech website UI kit; the .stx-* rules and media
   queries are the page layout from the original design. */

* { box-sizing: border-box; }
body { margin: 0; background: var(--gt-cream); }

/* ---------- Buttons (Glowtech UI kit) ---------- */
.gt-btn {
  font: inherit; font-weight: 700; font-size: 16px; border: 0; cursor: pointer;
  padding: 16px 32px; border-radius: 999px; text-decoration: none;
  transition: all 220ms cubic-bezier(.2,.7,.2,1);
  display: inline-flex; align-items: center; gap: 10px;
}
.gt-btn:hover { text-decoration: none; }
.gt-btn-primary {
  background: linear-gradient(180deg, #d2477f 0%, #b8336a 60%, #962556 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(184,51,106,.40), inset 0 1px 0 rgba(255,255,255,.25);
}
.gt-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(184,51,106,.50); color: #fff; }
.gt-btn-primary svg { width: 18px; height: 18px; transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
.gt-btn-primary:hover svg { transform: translateX(-4px); }

/* White-on-burgundy CTA (final section) */
.gt-btn-onbrand { background: #fff; color: var(--gt-burgundy); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.gt-btn-onbrand:hover { transform: translateY(-2px); background: var(--gt-cream); color: var(--gt-burgundy); }
.gt-btn-onbrand svg { transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
.gt-btn-onbrand:hover svg { transform: translateX(-4px); }

/* ---------- Layout: hero stacks on mobile, splits on desktop ---------- */
/* Mobile: stacked (headline -> image -> CTA). Desktop: text right, image left. */
@media (min-width: 860px) {
  .stx-hero { display: grid !important; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 56px; padding: 64px 0 !important; }
  .stx-top { grid-column: 1; grid-row: 1; text-align: right !important; align-self: end; }
  .stx-media { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; align-self: center; }
  .stx-cta-block { grid-column: 1; grid-row: 2; text-align: right !important; margin-top: 24px !important; align-self: start; }
  .stx-eyebrow { text-align: right !important; }
  .stx-subhead { margin-right: 0 !important; margin-left: 0 !important; }
  .stx-cta { width: auto !important; }
  .stx-media .stx-img { height: clamp(360px, 38vw, 460px) !important; }
}

.stx-proof-grid { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.stx-proof-grid > div { flex: 1 1 280px; height: 220px; } /* fallback before/without the justified-rows JS */
@media (min-width: 600px) { .stx-proof-grid { gap: 22px !important; } }
@media (min-width: 820px) { .stx-prob-grid { grid-template-columns: 1fr 1fr 1fr !important; gap: 22px !important; } }
@media (min-width: 640px) { .stx-treat-grid { grid-template-columns: 1fr 1fr !important; } }
@media (min-width: 760px) { .stx-prod-grid { grid-template-columns: 1fr 1fr !important; } }
@media (min-width: 760px) { .stx-train-grid { grid-template-columns: 1fr 1fr !important; } .stx-event-grid { grid-template-columns: 1fr 1fr !important; } }
@media (min-width: 760px) { .stx-trust-grid { grid-template-columns: 1fr 1fr 1fr !important; gap: 22px !important; } .stx-rachel { grid-template-columns: 5fr 7fr !important; min-height: 300px; } .stx-rachel .stx-img { height: 100% !important; aspect-ratio: auto !important; } }
@media (min-width: 640px) { .stx-video-grid { grid-template-columns: 1fr 1fr !important; } }

/* ---------- FAQ accordion ---------- */
details summary::-webkit-details-marker { display: none; }
details[open] summary span:first-child { transform: rotate(45deg); }
details summary span:first-child { transition: transform 200ms var(--ease-warm); }

/* ---------- Image placeholders (swap for real <img> / <picture>) ---------- */
/* A filled slot is an <img class="stx-img">; an empty one is
   <div class="stx-img stx-ph">caption</div>. Both share .stx-img so the
   layout/sizing rules above apply to either. */
.stx-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stx-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 16px; box-sizing: border-box;
  background: rgba(110,28,64,.045);
  border: 1.5px dashed var(--gt-line);
  color: var(--gt-muted); font-size: 13px; font-weight: 600; line-height: 1.35;
  border-radius: 0;
}
.stx-ph::before {
  content: ""; flex: none; width: 30px; height: 30px; opacity: .5;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7780' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
}

/* ---------- Footer (same links as every other page on the site) ---------- */
.site-footer {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 16px 22px; font-size: 12px; color: var(--gt-muted); direction: rtl;
}
.site-footer a {
  color: var(--gt-muted); text-decoration: underline; text-underline-offset: 2px;
  transition: color 160ms var(--ease-warm);
}
.site-footer a:hover { color: var(--gt-burgundy); }
.site-footer-dot { opacity: 0.5; }
