/* Sylvana Jewelry landing. Built with the landing-page-design skill.
   Every size, space and radius below comes from the skill's tokens. */

:root {
  color-scheme: light;
  /* Brand colors from her assets: taupe card (WA0000), blush silk (WA0001), rose gold foil */
  --cream: #F7F1EE;
  --blush: #EFE2DC;
  --blush-2: #E6D4CC;
  --white: #FFFFFF;
  --ink: #231E1B;
  --ink-2: #3E3633;
  --muted: #62574F;
  --rose: #8A5442;
  --rose-light: #E8C0AE;
  --taupe: #5B514D;
  --line: rgba(35, 30, 27, 0.12);

  /* B2 spacing tokens */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* B3 Tailwind radii */
  --r-sm: 2px; --r: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* B7 base curve */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-900); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px; line-height: 24px; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd, summary { text-wrap: pretty; }

/* ---------- B1 named text styles ---------- */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-1 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }

@media (min-width: 768px) {
  .md-heading-2 { font-size: 3rem; line-height: 1; }
  .md-heading-3 { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .lg-heading-1 { font-size: 3.75rem; line-height: 1; letter-spacing: -0.03em; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s-200); }
@media (min-width: 768px) { .wrap { padding: 0 var(--s-400); } }
.section { padding: var(--s-800) 0; }
@media (min-width: 1024px) { .section { padding: var(--s-900) 0; } }
.eyebrow { color: var(--rose); margin-bottom: var(--s-100); }
.section-head { max-width: 680px; margin-bottom: var(--s-500); }
.section-head p { color: var(--muted); margin-top: var(--s-200); }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: var(--s-200); top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: var(--s-75) var(--s-100);
  border-radius: var(--r-lg); text-decoration: none;
}
.skip:focus { top: var(--s-200); }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: var(--r-lg); }

.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
.icon-sm { width: 16px; height: 16px; }

/* ---------- Buttons (B2: 8px x 12px, B9 states) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 500ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink-2); color: var(--cream); }
.btn-primary:hover { background: var(--ink); }
.btn-lg { padding: var(--s-100) var(--s-300); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--blush); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--white); }

/* ---------- B7 nav ---------- */
.nav {
  position: fixed; top: var(--s-200); left: 50%; transform: translateX(-50%);
  z-index: 50; width: max-content; max-width: calc(100% - var(--s-400));
  display: flex; align-items: center; gap: var(--s-200);
  padding: var(--s-50) var(--s-50) var(--s-50) var(--s-100);
  background: rgba(247, 241, 238, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line); border-radius: var(--r-full);
}
.brand { display: inline-flex; align-items: center; gap: var(--s-75); text-decoration: none; border-radius: var(--r-full); }
.brand img { width: 32px; height: 32px; border-radius: var(--r-full); }
.brand span { letter-spacing: 0.16em; text-transform: uppercase; }
.nav-links { display: none; gap: var(--s-50); }
.nav-links a {
  text-decoration: none; padding: var(--s-75) var(--s-100); border-radius: var(--r-full); color: var(--muted);
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(35, 30, 27, 0.06); }
.nav-links a[aria-current="true"] { color: var(--ink); background: rgba(35, 30, 27, 0.08); }
.nav .nav-cta { display: none; }
.menu-toggle {
  width: 40px; height: 40px; border: 0; border-radius: var(--r-full); background: var(--ink-2); color: var(--cream);
  display: inline-grid; place-items: center; cursor: pointer; position: relative;
  transition: background-color 300ms var(--ease), transform 500ms var(--ease);
}
.menu-toggle:active { transform: scale(0.98); }
.menu-toggle span {
  position: absolute; left: 12px; width: 16px; height: 2px; border-radius: var(--r-full); background: currentColor;
  transition: transform 500ms var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }

@media (min-width: 900px) {
  .nav { gap: var(--s-300); }
  .nav-links { display: flex; }
  .nav .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.menu-panel {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(247, 241, 238, 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: var(--s-900) var(--s-300) var(--s-400);
  display: flex; flex-direction: column; gap: var(--s-400);
  opacity: 0; visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s steps(1, end) 300ms;
}
.menu-open .menu-panel { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease); }
.menu-panel ul { display: flex; flex-direction: column; gap: var(--s-100); }
.menu-panel li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.menu-open .menu-panel li { opacity: 1; transform: none; }
.menu-panel a.menu-link { text-decoration: none; display: block; padding: var(--s-75) 0; }
.menu-panel a.menu-link[aria-current="true"] { color: var(--rose); }
.menu-panel .btn { align-self: flex-start; }
@media (min-width: 900px) { .menu-panel { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: var(--s-900) 0 var(--s-800); }
.hero .wrap { display: grid; gap: var(--s-500); align-items: center; }
.hero-copy { max-width: 680px; }
.hero h1 {
  max-width: 680px;
  background: linear-gradient(90deg, #000000, #666666);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 680px; margin-top: var(--s-300); color: var(--muted); }
.hero-actions { margin-top: var(--s-400); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200); }
.proof-line { margin-top: var(--s-300); display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-200); color: var(--muted); }
.proof-line li { display: inline-flex; align-items: center; gap: var(--s-75); }
.proof-line .icon { color: var(--rose); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--r-3xl); background: var(--blush); }
.hero-tag {
  position: absolute; left: var(--s-200); bottom: var(--s-200);
  /* nested radius: 24 outer minus 16 gap = 8 */
  border-radius: var(--r-lg);
  background: rgba(247, 241, 238, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: var(--s-75) var(--s-100);
}
.hero-tag strong { display: block; }
@media (min-width: 1024px) {
  .hero { padding: calc(var(--s-900) + var(--s-600)) 0 var(--s-900); }
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-700); }
}

/* ---------- Pieces ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-bottom: var(--s-400); }
.chip {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  border-radius: var(--r-full); padding: var(--s-75) var(--s-200); cursor: pointer; font-family: inherit;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 500ms var(--ease);
}
.chip:hover { background: var(--blush); }
.chip:active { transform: scale(0.98); }
.chip[aria-pressed="true"] { background: var(--ink-2); color: var(--cream); border-color: var(--ink-2); }
.chip .count { opacity: 0.7; margin-left: var(--s-50); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-400) var(--s-200); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-500) var(--s-300); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; gap: var(--s-100); min-width: 0; }
.card[hidden] { display: none; }
.frame {
  position: relative; overflow: hidden; border-radius: var(--r-2xl); background: var(--blush);
  aspect-ratio: 4 / 5;
}
.frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.frame.is-loaded img { opacity: 1; }
.frame.packshot { background: var(--white); }
.frame.packshot img { object-fit: cover; }
/* B9 loading: skeleton block shaped like the photo, pulsing in opacity only */
.frame::after {
  content: ""; position: absolute; inset: 0; background: var(--blush-2);
  animation: pulse 1400ms var(--ease) infinite alternate;
}
.frame.is-loaded::after, .frame.is-error::after { display: none; }
@keyframes pulse { from { opacity: 0.35; } to { opacity: 0.9; } }
.frame .err {
  position: absolute; inset: 0; display: none; place-content: center; text-align: center; gap: var(--s-75);
  padding: var(--s-200); color: var(--muted);
}
.frame.is-error .err { display: grid; }
.card:hover .frame.is-loaded img { transform: scale(1.03); }
.card-name { display: flex; flex-direction: column; gap: var(--s-25); }
.card-name .caption-2 { color: var(--muted); }
.card .btn { align-self: flex-start; }

.empty {
  border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--white);
  padding: var(--s-600) var(--s-300); text-align: center; display: grid; gap: var(--s-200); justify-items: center;
}
.empty[hidden] { display: none; }

/* ---------- Materials ---------- */
.materials .wrap { display: grid; gap: var(--s-600); }
.materials-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: var(--r-3xl); background: var(--blush); }
.problem { color: var(--muted); margin-top: var(--s-200); max-width: 680px; }
.benefits { margin-top: var(--s-500); display: grid; gap: var(--s-300); }
.benefits li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-200); align-items: start; }
.benefit-icon {
  width: 40px; height: 40px; border-radius: var(--r-full); background: var(--blush);
  display: grid; place-items: center; color: var(--rose);
}
.benefits p { color: var(--muted); }
@media (min-width: 1024px) {
  .materials .wrap { grid-template-columns: 0.8fr 1.2fr; gap: var(--s-800); align-items: center; }
}

/* ---------- B11 tagline reveal ---------- */
.tagline { background: var(--taupe); color: var(--cream); padding: var(--s-900) 0; }
@media (min-width: 1024px) { .tagline { padding: calc(var(--s-900) + var(--s-700)) 0; } }
.tagline .mono { width: 48px; height: 48px; border-radius: var(--r-full); margin-bottom: var(--s-400); }
.tagline p { max-width: 680px; }
.tagline .w { opacity: 0.3; transition: opacity 500ms var(--ease); }
.tagline .w.on { opacity: 1; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: var(--s-200); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-300); } }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2xl);
  padding: var(--s-300); display: grid; gap: var(--s-100); align-content: start;
}
.step-num {
  width: 32px; height: 32px; border-radius: var(--r-full); background: var(--blush); color: var(--rose);
  display: grid; place-items: center; margin-bottom: var(--s-75);
}
.step p { color: var(--muted); }

/* ---------- Proof: Instagram ---------- */
.insta { display: grid; gap: var(--s-400); }
.insta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-75); }
@media (min-width: 768px) { .insta-grid { gap: var(--s-200); } }
.insta-grid a { display: block; border-radius: var(--r-xl); overflow: hidden; }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--blush); transition: transform 500ms var(--ease); }
.insta-grid a:hover img { transform: scale(1.04); }
.insta-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-300); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--s-100); max-width: 800px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2xl);
  transition: background-color 300ms var(--ease);
}
.faq-list details:hover { background: #FFFCFA; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: var(--s-200) var(--s-300);
  display: flex; justify-content: space-between; gap: var(--s-200); align-items: center; border-radius: var(--r-2xl);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { transition: transform 500ms var(--ease); color: var(--rose); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .answer { padding: 0 var(--s-300) var(--s-300); color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { padding: var(--s-800) 0; }
.final-box {
  position: relative; overflow: hidden; border-radius: var(--r-3xl);
  background: var(--blush) url("../../assets/web/IMG-20261109-WA0001.webp") center / cover no-repeat;
  padding: var(--s-700) var(--s-200);
  display: grid; place-items: center;
}
.final-card {
  background: rgba(247, 241, 238, 0.92); border-radius: var(--r-2xl);
  padding: var(--s-500) var(--s-300); max-width: 640px; text-align: center; display: grid; gap: var(--s-200); justify-items: center;
}
.final-card p { color: var(--muted); }
.risk { display: inline-flex; gap: var(--s-75); align-items: center; color: var(--ink); }
.risk .icon { color: var(--rose); }
@media (min-width: 768px) { .final-box { padding: var(--s-900) var(--s-400); } .final-card { padding: var(--s-600); } }

/* ---------- Footer ---------- */
.footer { background: var(--taupe); color: var(--cream); padding: var(--s-600) 0 var(--s-400); }
.footer .wrap { display: grid; gap: var(--s-300); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-300); align-items: center; }
.footer a { text-decoration: none; border-radius: var(--r-lg); }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); }
.footer .fine { color: #E9DED8; }
.footer :focus-visible { outline-color: var(--rose-light); }

/* ---------- Toast (B8 system messages, B9 error) ---------- */
.toast {
  position: fixed; left: 50%; bottom: var(--s-300); z-index: 60;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--cream); border-radius: var(--r-xl);
  padding: var(--s-100) var(--s-200); max-width: calc(100% - var(--s-400)); width: max-content;
  transition: opacity 300ms var(--ease), transform 500ms var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- B7 scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 700ms var(--ease); }
  .menu-panel li { transform: none; }
  .btn:hover, .btn:active, .chip:active, .menu-toggle:active { transform: none; }
  .card:hover .frame.is-loaded img, .insta-grid a:hover img { transform: none; }
  .frame::after { animation: none; opacity: 0.6; }
  .tagline .w { opacity: 1; transition: none; }
  .toast { transform: translate(-50%, 0); }
}
