/* Skin Bliss product-review pages.
   Self-contained: these pages load no other stylesheet, so a design change
   here goes live for the whole corpus with a single file upload. Only
   per-page data (bar widths, image dimensions) is ever inline.
   Tokens come from the Skin Bliss design system (colors_and_type.css). */

/* Outfit, served from our own domain: the pages load nothing from another domain.
   The files are the blog's (@fontsource-variable/outfit, Latin and Latin Extended; SIL OFL). */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --blackish: #171717;
  --body: #4e4b66;
  --label: #6e7191;
  --line: #d9dbe9;
  --base: #fcfcfc;
  --subtle: #f7f7fc;
  --white: #ffffff;
  --indigo-1: #312e81;
  --indigo-20: #4f46e5;
  --indigo-30: #6366f1;
  --indigo-40: #818cf8;
  --indigo-50: #a5b4fc;
  --indigo-80: #eef2ff;
  --sky-5: #075985;
  --sky-80: #f0f9ff;
  --mint-10: #047857;
  --mint-80: #ecfdf5;
  --amber-10: #b45309;
  --amber-70: #fef3c7;
  --shadow-md: 0 8px 24px rgba(49, 46, 129, 0.08);
  --shadow-lg: 0 20px 48px rgba(49, 46, 129, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--body);
  font-family: "Outfit", ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: var(--indigo-20); text-decoration: none; }
a:hover { color: var(--indigo-1); }
h1, h2, h3, p { margin-top: 0; }

.rv-shell { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.rv-column { width: min(660px, calc(100% - 48px)); margin-inline: auto; }
.rv-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--indigo-20);
  color: var(--white);
  transform: translateY(-160%);
}
.rv-skip:focus { transform: translateY(0); }

/* ---------- header ---------------------------------------------------- */
.rv-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252, 252, 252, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 219, 233, 0.6);
}
.rv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}
.rv-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blackish);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rv-brand:hover { color: var(--blackish); }
.rv-brand img { width: 34px; height: 34px; border-radius: 11px; }
.rv-brand span { color: var(--indigo-30); }
.rv-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.rv-nav a:not(.rv-cta-pill) { color: var(--body); font-weight: 400; }
.rv-nav a:not(.rv-cta-pill):hover { color: var(--indigo-20); }
.rv-cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--indigo-30);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: opacity var(--ease) 220ms;
}
.rv-cta-pill:hover { color: var(--white); opacity: 0.85; }

/* ---------- hero ------------------------------------------------------ */
.rv-hero { padding: 44px 0 40px; background: var(--indigo-80); }
.rv-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}
.rv-crumbs a { color: var(--label); }
.rv-crumbs a:hover { color: var(--indigo-20); }
.rv-crumbs [aria-current] { color: var(--indigo-20); }
.rv-hero-grid {
  display: flex;
  align-items: flex-start;
  gap: 44px;
  margin-top: 24px;
}
.rv-hero-copy { flex: 1; min-width: 0; }
.rv-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--blackish);
  text-wrap: pretty;
}
.rv-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--label);
}
.rv-byline strong { font-weight: 500; color: var(--body); }
.rv-lead {
  margin: 20px 0 0;
  font-size: 20px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.rv-hero-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--label); }
.rv-hero-aside { width: 230px; flex-shrink: 0; }
.rv-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.rv-photo img { max-height: 240px; width: auto; object-fit: contain; }
.rv-score { margin-top: 18px; text-align: center; }
.rv-score-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
}
.rv-score-num b {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--indigo-20);
}
.rv-score-num span { font-size: 16px; font-weight: 400; color: var(--label); }
.rv-score-word {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blackish);
}

/* ---------- article --------------------------------------------------- */
.rv-article { padding: 56px 0 64px; }
.rv-article h2 {
  margin: 48px 0 0;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--blackish);
  text-wrap: pretty;
}
.rv-article h2:first-child { margin-top: 0; }
.rv-article p { margin: 16px 0 0; line-height: 1.75; text-wrap: pretty; }

/* trio: best for / best skin type / when to use */
.rv-trio {
  display: flex;
  margin-top: 30px;
  padding: 26px 30px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.rv-trio > div { flex: 1; padding: 0 24px; border-left: 1px solid var(--line); }
.rv-trio > div:first-child { padding-left: 0; border-left: 0; }
.rv-trio > div:last-child { padding-right: 0; }
.rv-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-20);
}
.rv-trio strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blackish);
}

/* concern cards under a section */
.rv-cards { display: flex; gap: 16px; margin-top: 26px; }
.rv-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--subtle);
}
.rv-card img { width: 60px; height: 60px; flex-shrink: 0; border-radius: 15px; }
.rv-card-name { font-size: 15px; font-weight: 500; color: var(--blackish); }
.rv-card-verdict {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo-20);
}

/* sensitivity note */
.rv-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}
.rv-note img { width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px; }
.rv-note-title { font-size: 15px; font-weight: 500; color: var(--blackish); }
.rv-note p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; }
.rv-note strong { font-weight: 600; color: var(--amber-10); }

/* claim chips */
.rv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rv-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mint-80);
  color: var(--mint-10);
  font-size: 13px;
  font-weight: 500;
}
.rv-chip--caution { background: var(--amber-70); color: var(--amber-10); }

/* gated score panel */
.rv-gate {
  margin-top: 44px;
  padding: 30px 32px;
  border-radius: 28px;
  background: var(--indigo-80);
}
.rv-gate-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.rv-gate-head h2 { margin: 0; font-size: 22px; }
.rv-gate-count { font-size: 12.5px; color: var(--body); }
.rv-gate-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.rv-gate-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--white);
}
.rv-gate-row img { width: 38px; height: 38px; border-radius: 11px; }
.rv-gate-row span { flex: 1; font-size: 15px; font-weight: 500; color: var(--blackish); }
.rv-gate-row b { font-size: 14px; font-weight: 600; color: var(--indigo-20); }
.rv-gate-locked { display: flex; flex-direction: column; gap: 8px; }
.rv-gate-locked .rv-gate-row {
  background: rgba(255, 255, 255, 0.6);
  filter: blur(3.5px);
  user-select: none;
}
.rv-gate-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(129, 140, 248, 0.35);
}
.rv-gate-cta .rv-qr {
  display: block;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  padding: 7px;
  border-radius: 14px;
  background: var(--white);
}
.rv-gate-cta .rv-qr svg { width: 100%; height: 100%; display: block; }
.rv-gate-cta > div { flex: 1; min-width: 0; }
.rv-gate-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blackish);
}
.rv-gate-cta p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }
.rv-badges { display: flex; gap: 10px; margin-top: 14px; }
.rv-badges img { height: 40px; width: auto; }
.rv-badges a { display: inline-flex; transition: opacity 220ms var(--ease); }
.rv-badges a:hover { opacity: 0.85; }

/* usage guide */
.rv-usage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 24px;
  background: var(--sky-80);
}
.rv-usage dt { font-size: 11.5px; font-weight: 500; color: var(--sky-5); }
.rv-usage dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--blackish);
}

/* bottom line */
.rv-bottom { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.rv-bottom p {
  margin: 12px 0 0;
  font-family: "Lato", Georgia, serif;
  font-style: italic;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--indigo-1);
}

/* FAQ */
.rv-faq { margin-top: 16px; border-top: 1px solid rgba(217, 219, 233, 0.6); }
.rv-faq details { border-bottom: 1px solid rgba(217, 219, 233, 0.6); }
.rv-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--blackish);
  cursor: pointer;
  list-style: none;
}
.rv-faq summary::-webkit-details-marker { display: none; }
.rv-faq svg { flex-shrink: 0; transition: transform 220ms var(--ease); }
.rv-faq details[open] svg { transform: rotate(180deg); }
.rv-faq p { margin: 0 0 20px; padding-right: 40px; font-size: 16px; line-height: 1.7; }

/* engagement stats */
.rv-engagement {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.rv-engagement div { display: flex; gap: 28px; flex: 1; }
.rv-engagement b {
  font-size: 20px;
  font-weight: 700;
  color: var(--indigo-20);
}
.rv-engagement span { font-size: 13.5px; }

/* disclosure + internal links */
.rv-disclosure {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(217, 219, 233, 0.6);
}
.rv-disclosure p { flex: 1; margin: 0; font-size: 13.5px; line-height: 1.65; }
.rv-links {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
}

/* ---------- footer ---------------------------------------------------- */
.rv-footer {
  background: var(--subtle);
  border-top: 1px solid rgba(217, 219, 233, 0.6);
}
.rv-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
}
.rv-footer-brand { display: flex; align-items: center; gap: 11px; font-size: 13.5px; }
.rv-footer-brand img { width: 30px; height: 30px; border-radius: 10px; }
.rv-footer-links { display: flex; gap: 20px; font-size: 13px; }
.rv-footer-links a { color: var(--label); }
.rv-footer-links a:hover { color: var(--indigo-20); }

/* ---------- narrow screens -------------------------------------------- */
@media (max-width: 860px) {
  .rv-nav a:not(.rv-cta-pill) { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .rv-shell, .rv-column { width: calc(100% - 48px); }
  .rv-hero { padding: 22px 0 30px; }
  /* headline first on a phone, then the photo and the glance card */
  .rv-hero-grid { flex-direction: column; gap: 22px; margin-top: 14px; }
  .rv-hero-aside { width: 100%; }
  .rv-hero h1 { font-size: 27px; }
  .rv-photo { width: 158px; margin: 0 auto; padding: 14px; border-radius: 22px; }
  .rv-photo img { max-height: 160px; }
  .rv-score-num b { font-size: 36px; }
  .rv-score-word { font-size: 14px; }
  .rv-byline { margin-top: 10px; font-size: 12px; }
  .rv-lead { margin-top: 14px; font-size: 16px; }
  .rv-article { padding: 32px 0 40px; }
  .rv-article h2 { margin-top: 34px; font-size: 21px; }
  .rv-article p { margin-top: 12px; }
  .rv-trio { display: block; padding: 20px 22px; border-radius: 22px; }
  .rv-trio > div { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .rv-trio > div:first-child { padding-top: 0; border-top: 0; }
  .rv-trio strong { font-size: 20px; }
  .rv-cards { display: block; }
  .rv-card { margin-top: 8px; padding: 12px 14px; border-radius: 18px; }
  .rv-card img { width: 46px; height: 46px; border-radius: 13px; }
  .rv-note { padding: 12px 14px; border-radius: 18px; }
  .rv-note img { width: 46px; height: 46px; border-radius: 13px; }
  .rv-gate { padding: 22px 20px; border-radius: 24px; }
  .rv-gate-head h2 { font-size: 18px; }
  .rv-gate-row { padding: 11px 13px; border-radius: 15px; }
  .rv-gate-row img { width: 34px; height: 34px; }
  .rv-gate-row span { font-size: 14px; }
  .rv-gate-cta { display: block; }
  .rv-gate-cta .rv-qr { display: none; }
  .rv-usage { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px 20px; }
  .rv-bottom p { font-size: 16.5px; }
  .rv-faq summary { padding: 15px 0; font-size: 15px; }
  .rv-faq p { padding-right: 0; font-size: 14.5px; }
  .rv-engagement { display: block; }
  .rv-engagement div { justify-content: space-between; gap: 10px; }
  .rv-disclosure { display: block; }
  .rv-links { width: 100%; margin-top: 16px; }
  .rv-footer-inner { display: block; }
  .rv-footer-links { margin-top: 16px; }
}
