:root {
  --charcoal: #111111;
  --white: #ffffff;
  --muted-gold: #c9a24d;
  --rose-gold: #d6a1a1;
  --cool-gray: #f7f7f7;
  --dark-gray: #333333;
  --line: #e6e6e6;
  --panel: #ffffff;
  --success: #1f6b44;
  --warning: #7e5b0e;
  --danger: #8f2c2c;
  --shadow: 0 16px 44px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 100% -10%, rgba(214, 161, 161, 0.18), transparent 36%),
    linear-gradient(180deg, var(--white), var(--cool-gray));
  line-height: 1.5;
  position: relative;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 17, 17, 0.03) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  opacity: 0.32;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--charcoal);
}

.brand-logo-wrap {
  width: auto;
  height: 5rem;
  min-width: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 100%;
  max-width: 20rem;
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  color: var(--white);
  background: var(--charcoal);
}

.brand-mark-fallback {
  display: none;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--dark-gray);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  justify-self: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--dark-gray);
}

.auth-area {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--charcoal);
  background: var(--white);
  border-radius: 999px;
  padding: 0.38rem 0.92rem;
  color: var(--charcoal);
}

.page-shell {
  width: min(1120px, calc(100% - 2.25rem));
  margin: 2.5rem auto 3.2rem;
  display: grid;
  gap: 2.2rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6rem;
  color: var(--charcoal);
}

h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

h2 {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 700;
}

h3 {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.lead {
  color: var(--dark-gray);
  font-size: 1.08rem;
  max-width: 38ch;
}

.eyebrow {
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.centered-copy {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.hero {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  background: linear-gradient(180deg, var(--white), #fcfcfc);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 0.78rem;
}

.hero-benefit {
  margin: 0;
  color: var(--charcoal);
  font-weight: 500;
}

.hero-slider-wrap {
  align-self: stretch;
}

.hero-slider {
  position: relative;
  min-height: 470px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cool-gray);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 420ms ease, transform 780ms ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide p {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
  margin: 0;
  padding: 0.55rem 0.78rem;
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.72);
  color: var(--white);
  font-size: 0.86rem;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta-button,
.ghost-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 0.64rem 1.22rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease,
    transform 180ms ease;
}

.cta-button {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.cta-button:hover {
  background: var(--muted-gold);
  border-color: var(--muted-gold);
  color: var(--charcoal);
  transform: translateY(-1px);
}

.ghost-button {
  border-color: var(--charcoal);
  background: var(--white);
  color: var(--charcoal);
}

.ghost-button:hover {
  border-color: var(--muted-gold);
  background: var(--cool-gray);
  transform: translateY(-1px);
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 162, 77, 0.8) 50%, transparent 100%);
}

.home-section {
  display: grid;
  gap: 1rem;
}

.panel-grid,
.membership-grid,
.dashboard-grid,
.cart-layout,
.faq-list,
.product-grid,
.featured-grid,
.testimonial-grid,
.comparison-grid {
  display: grid;
  gap: 1rem;
}

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

.membership-grid,
.dashboard-grid,
.cart-layout,
.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid,
.featured-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

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

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.section-head h2 {
  margin-bottom: 0;
  position: relative;
  padding-bottom: 0.3rem;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.4rem;
  height: 2px;
  background: var(--muted-gold);
}

.featured-card {
  display: grid;
  gap: 0.62rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.1);
}

.featured-art {
  border-radius: 12px;
  border: 1px solid var(--line);
  min-height: 210px;
  overflow: hidden;
  background: #f3f3f3;
}

.featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}

.featured-card:hover .featured-art img {
  transform: scale(1.045);
}

.comparison-block {
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.compare-card.highlight {
  border-color: rgba(201, 162, 77, 0.7);
  background: linear-gradient(180deg, #fffdf7, #fffaf1);
}

.trust-strip {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-strip li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  text-align: center;
  padding: 0.52rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.final-cta {
  background: linear-gradient(180deg, #111111, #1e1e1e);
  color: var(--white);
  border-radius: 18px;
  padding: 1.6rem;
  display: grid;
  gap: 0.7rem;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  color: var(--white);
  margin: 0;
}

.final-cta .ghost-button {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.final-cta .ghost-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.stars {
  letter-spacing: 0.14em;
  color: var(--muted-gold);
  margin: 0 0 0.55rem;
}

.icon-panel .icon-line {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--dark-gray);
  margin: 0 0 0.5rem;
}

.notice {
  padding: 0.82rem 1rem;
  border-radius: 10px;
  border: 1px solid #e7d9b7;
  background: #fff7e8;
  color: var(--warning);
}

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

.clean-list,
.policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.clean-list li::before,
.policy-list li::before {
  content: "-";
  margin-right: 0.46rem;
  color: var(--muted-gold);
}

.auth-card {
  width: min(540px, 100%);
  margin: 1rem auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
}

.stack-form {
  display: grid;
  gap: 0.82rem;
}

.stack-form.compact {
  gap: 0.64rem;
}

label {
  display: grid;
  gap: 0.36rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
button,
textarea {
  font: inherit;
}

input {
  border: 1px solid #d7d7d7;
  background: var(--white);
  border-radius: 10px;
  padding: 0.56rem 0.72rem;
  color: var(--charcoal);
}

input:focus {
  outline: 2px solid rgba(201, 162, 77, 0.24);
  border-color: var(--muted-gold);
}

.text-link {
  border: 0;
  background: none;
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.text-link:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.pill {
  display: inline-flex;
  min-width: 1.1rem;
  height: 1.1rem;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  padding: 0 0.2rem;
}

.product-card {
  display: grid;
  gap: 0.5rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.09);
}

.product-card-art {
  border-radius: 12px;
  border: 1px solid var(--line);
  min-height: 230px;
  overflow: hidden;
  background: #f3f3f3;
}

.product-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}

.product-card:hover .product-card-art img {
  transform: scale(1.045);
}

.product-card h3 {
  margin-bottom: 0;
}

.product-meta {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.full {
  width: 100%;
}

.legal {
  max-width: 900px;
  margin-inline: auto;
}

.site-footer {
  width: min(1120px, calc(100% - 2.25rem));
  margin: 1rem auto 2rem;
  padding-top: 0.88rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--dark-gray);
}

.footer-links {
  display: inline-flex;
  gap: 0.82rem;
}

.footer-links a {
  color: var(--dark-gray);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--charcoal);
}

.back-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.2rem;
  z-index: 20;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
  border-radius: 999px;
  padding: 0.48rem 0.86rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  animation: rise 520ms ease both;
}

.reveal-stagger > * {
  opacity: 0;
  animation: rise 540ms ease both;
}

.reveal-stagger > *:nth-child(1) { animation-delay: 80ms; }
.reveal-stagger > *:nth-child(2) { animation-delay: 150ms; }
.reveal-stagger > *:nth-child(3) { animation-delay: 220ms; }
.reveal-stagger > *:nth-child(4) { animation-delay: 290ms; }

@keyframes rise {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 360px;
  }
}

@media (max-width: 900px) {
  .membership-grid,
  .dashboard-grid,
  .cart-layout,
  .panel-grid,
  .testimonial-grid,
  .trust-strip,
  .mini-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: auto auto;
    align-items: start;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    padding-top: 0.5rem;
  }

  .site-nav.open {
    display: inline-flex;
  }

  .auth-area {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .brand-logo {
    max-width: 15rem;
  }

  .hero-slider {
    min-height: 260px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
