:root {
  --bg: #f3f0ff;
  --blob-1: rgba(124, 58, 237, 0.09);
  --blob-2: rgba(236, 72, 153, 0.07);
  --blob-3: rgba(59, 130, 246, 0.06);
  --surface: #fdfcff;
  --surface-elevated: #ffffff;
  --line: #e4dff7;
  --line-strong: #c4b5e8;
  --text: #1c1535;
  --muted: #655d7e;
  --accent: #6d28d9;
  --accent-hover: #5b21b6;
  --accent-soft: rgba(109, 40, 217, 0.15);
  --highlight: #db2777;
  --footer-bg: #1e1438;
  --footer-text: #f5f3ff;
  --footer-muted: #b8a8d9;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 8px 32px rgba(76, 29, 149, 0.09);
  --shadow-hover: 0 16px 48px rgba(76, 29, 149, 0.14);
  --font-heading: "Literata", "Georgia", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
  --space-1: 10px;
  --space-2: 14px;
  --space-3: 20px;
  --space-4: 28px;
  --space-5: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.65;
  letter-spacing: 0.005em;
  background-image: radial-gradient(ellipse 90% 65% at 10% -15%, var(--blob-1), transparent 52%),
    radial-gradient(ellipse 70% 55% at 95% 20%, var(--blob-2), transparent 48%),
    radial-gradient(ellipse 60% 45% at 40% 105%, var(--blob-3), transparent 45%),
    linear-gradient(180deg, #faf7ff 0%, #f0eefe 35%, #ebe7fb 100%);
  background-attachment: fixed;
}

h1,
h2,
h3,
.legal-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-optical-sizing: auto;
}

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

.container {
  width: min(1100px, calc(100vw - 32px));
  margin: 0 auto;
}

.section {
  padding: var(--space-4) 0;
}

.card {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.24s ease, border-color 0.2s ease, transform 0.24s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--line-strong);
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px) saturate(1.15);
  background: rgba(253, 252, 255, 0.82);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--highlight), #8b5cf6);
  opacity: 0.65;
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 6px 14px 6px 0;
  background: linear-gradient(120deg, var(--accent) 0%, #9333ea 50%, var(--highlight) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand:hover {
  filter: brightness(1.08);
}

@supports not (background-clip: text) {
  .brand {
    color: var(--accent);
    background: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:not(.btn):hover {
  color: var(--accent);
}

.hero-grid {
  display: grid;
  gap: var(--space-3);
}

.gallery,
.product,
.content,
.final-cta {
  padding: var(--space-3);
}

.hero .card {
  background: linear-gradient(165deg, #ffffff 0%, #fdfbff 55%, #faf5ff 100%);
}

.main-image-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, #ffffff 0%, #f8f5ff 100%);
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.thumbs {
  margin-top: var(--space-2);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.thumb:hover {
  transform: scale(1.05);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(109, 40, 217, 0.2);
  width: fit-content;
  max-width: 100%;
}

.eyebrow::before {
  display: none;
}

.amazon-notice {
  margin: var(--space-2) 0 0;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.06) 0%, rgba(219, 39, 119, 0.05) 100%);
  font-size: 0.86rem;
  color: var(--muted);
}

h1 {
  margin: var(--space-1) 0 var(--space-2);
  font-size: clamp(1.8rem, 5.4vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.42rem, 4.2vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-1);
  flex-wrap: wrap;
}

.stars {
  color: #d97706;
  letter-spacing: 1px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.price {
  font-size: clamp(1.55rem, 4.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-family: var(--font-heading);
}

.old-price {
  color: #8b7fa8;
  text-decoration: line-through;
  font-size: 0.95rem;
}

.lead {
  margin: 0 0 var(--space-2);
  color: #3d3554;
}

.section-split {
  display: grid;
  gap: 18px;
}

.section-photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  min-height: 220px;
  box-shadow: 0 4px 20px rgba(76, 29, 149, 0.06);
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.section-photo:hover img {
  transform: scale(1.03);
}

.hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-features li {
  position: relative;
  padding-left: 26px;
}

.hero-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.cta-stack {
  margin-top: var(--space-3);
  display: grid;
  gap: 10px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease,
    box-shadow 0.2s ease;
  font-size: 0.9rem;
}

.btn:active {
  transform: scale(0.98);
}

.btn-dark {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(109, 40, 217, 0.35);
}

.btn-dark:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  box-shadow: 0 6px 24px rgba(109, 40, 217, 0.4);
}

.btn-soft {
  background: var(--surface-elevated);
  border-color: var(--line);
  color: var(--text);
}

.btn-soft:hover {
  background: #faf5ff;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  border: 2px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.tile {
  position: relative;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  padding-top: calc(var(--space-2) + 4px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 14px rgba(76, 29, 149, 0.05);
  overflow: hidden;
}

.tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #a855f7, var(--highlight));
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.steps {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.steps li::marker {
  color: var(--accent);
  font-weight: 800;
}

.reviews p {
  margin: 8px 0 0;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--surface-elevated);
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.review-name {
  font-weight: 700;
}

.review-stars {
  color: #d97706;
  letter-spacing: 1px;
  white-space: nowrap;
}

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

.reason-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--surface-elevated);
}

.reason-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.reason-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-soft), #fce7f3);
  border: 1px solid var(--line);
  font-weight: 800;
  color: var(--accent);
  font-size: 0.75rem;
}

.reason-title {
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: var(--surface-elevated);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-body);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  margin: 10px 0 0;
}

.final-cta {
  text-align: center;
  background: linear-gradient(160deg, #faf5ff 0%, #fae8ff 45%, #fdf2f8 100%);
  border-color: #e9d5ff;
}

.site-footer {
  margin-top: var(--space-5);
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid #3d2e5c;
}

.site-footer h3 {
  color: var(--footer-text);
  font-family: var(--font-heading);
  font-size: 1.22rem;
}

.site-footer .muted,
.site-footer .tiny {
  color: var(--footer-muted);
}

.site-footer a {
  color: #e9d5ff;
}

.footer-grid {
  padding: var(--space-5) 0 var(--space-4);
  display: grid;
  gap: var(--space-3);
}

.footer-link {
  color: var(--footer-text);
  text-decoration: none;
  margin-right: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-legal {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--footer-muted);
  max-width: 52ch;
}

.page-main {
  min-height: calc(100vh - 180px);
}

.page-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.82rem, 4vw, 2.55rem);
}

.legal-wrap {
  padding: var(--space-4) 0;
}

.legal-card {
  padding: 28px;
}

.legal-intro {
  margin-top: 0;
}

.legal-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  margin-top: 14px;
  box-shadow: 0 2px 16px rgba(76, 29, 149, 0.05);
}

.legal-section h2 {
  font-size: clamp(1.12rem, 2.8vw, 1.45rem);
  margin-bottom: 10px;
  color: var(--accent);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

.form-field {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: #3d3554;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: var(--surface-elevated);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
}

.form-check input {
  margin-top: 4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 0.9rem;
}

[hidden] {
  display: none !important;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

  .main-image-wrap {
    min-height: 430px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .section-split-reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .section-split-reverse > :first-child {
    order: 2;
  }

  .section-split-reverse > :last-child {
    order: 1;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-field-full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-5) 0;
  }

  .gallery,
  .product,
  .content,
  .final-cta {
    padding: 32px;
  }

  .grid.reviews,
  #featureGrid,
  #whyList {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-photo {
    min-height: 320px;
  }

  .reasons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
