:root {
  --bg: #0f0a08;
  --bg-soft: #18110e;
  --card: rgba(255, 248, 241, 0.06);
  --card-strong: rgba(255, 248, 241, 0.09);
  --line: rgba(255, 222, 196, 0.14);
  --text: #fff7f2;
  --muted: #d8c4b7;
  --accent: #f2a65a;
  --accent-2: #c96b32;
  --accent-3: #ffce9b;
  --success: #4cc38a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 170, 98, 0.16), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(201, 107, 50, 0.14), transparent 26%),
    linear-gradient(180deg, #120c09 0%, #0f0a08 45%, #120c09 100%);
  color: var(--text);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
}

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

.section {
  position: relative;
  padding: 88px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(12, 8, 6, 0.74);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-with-logo {
  min-height: 56px;
}

.brand-logo {
  width: auto;
  height: 56px;
  max-width: 240px;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 3px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0d04;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(242, 166, 90, 0.32);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
}

.cart-chip {
  border: 1px solid rgba(242, 166, 90, 0.35);
  background: rgba(242, 166, 90, 0.12);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cart-chip strong {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #23140a;
  font-size: 0.86rem;
}

.hero {
  padding-top: 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}

.eyebrow,
.seo-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-3);
  margin-bottom: 16px;
}

.hero h1,
.section-heading h2,
.seo-card h2,
.content-card h2,
.guide-card h2,
.cart-header h2,
.toc-card h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.lead,
.section-heading p,
.prose p,
.feature-card p,
.product-card .desc,
.guide-card p,
.legal-card li,
.faq-item p,
.review-card p,
.cart-note,
.toc-card p,
.toc-card a {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy .lead {
  max-width: 66ch;
  margin: 22px 0 0;
}

.trust-row,
.hero-actions,
.hero-proof,
.seo-grid,
.features-grid,
.reviews-grid,
.guide-grid,
.content-grid,
.toc-grid,
.product-grid {
  display: grid;
}

.trust-row {
  margin-top: 28px;
  grid-template-columns: repeat(3, max-content);
  gap: 12px;
}

.trust-pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  font-size: 0.92rem;
}

.hero-actions {
  margin-top: 28px;
  grid-template-columns: repeat(2, max-content);
  gap: 14px;
}

.hero-proof {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.hero-proof > div,
.seo-card,
.content-card,
.feature-card,
.guide-card,
.review-card,
.product-card,
.cart-panel,
.toc-card {
  background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-proof > div,
.toc-card,
.seo-card,
.content-card,
.guide-card,
.feature-card,
.review-card,
.product-card {
  padding: 24px;
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
}

.hero-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 26px;
  background:
    radial-gradient(circle at top left, rgba(255, 206, 155, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 206, 155, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.hero-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(15, 10, 8, 0.82);
  border: 1px solid rgba(255, 206, 155, 0.28);
  color: var(--accent-3);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-product-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
}

.hero-floating-card {
  position: absolute;
  right: -18px;
  bottom: -36px;
  width: min(360px, calc(100% - 18px));
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(16, 10, 8, 0.94);
  border: 1px solid rgba(255, 206, 155, 0.2);
  box-shadow: var(--shadow);
}

.hero-floating-card img {
  width: 118px;
  height: 90px;
  object-fit: cover;
  border-radius: 18px;
}

.hero-floating-card span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 16px;
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #211208;
  background: linear-gradient(135deg, var(--accent), #ffcf90);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.btn-block {
  width: 100%;
}

.toc-card {
  padding: 28px;
}

.toc-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.toc-grid a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.toc-grid a:hover {
  color: var(--text);
  border-color: rgba(255, 206, 155, 0.28);
}

.seo-grid,
.content-grid,
.guide-grid {
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.longform-grid {
  align-items: start;
}

.longform,
.full-width {
  padding: 28px;
}

.full-width {
  width: 100%;
}

.prose-wrap .full-width {
  max-width: 100%;
}

.prose p,
.prose li {
  font-size: 1.02rem;
}

.prose strong {
  color: var(--text);
}

.prose h2 {
  margin-bottom: 18px;
}

.prose h3 {
  margin: 26px 0 10px;
}

.checklist ul,
.seo-card ul,
.legal-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 820px;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 35%;
  height: 180px;
  background: radial-gradient(circle, rgba(242, 166, 90, 0.18), transparent 70%);
}

.variant-thumb {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  margin-bottom: 16px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 70%);
}

.product-card h3 {
  font-size: 2rem;
  margin: 12px 0 10px;
}

.product-tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--accent-3);
  font-size: 0.8rem;
  font-weight: 700;
}

.price {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 800;
}

.price small {
  font-size: 0.95rem;
  color: var(--muted);
}

.card-actions {
  margin-top: 18px;
}

.featured {
  border-color: rgba(255, 206, 155, 0.3);
}

.hottest {
  border-color: rgba(242, 166, 90, 0.45);
  background: linear-gradient(180deg, rgba(242, 166, 90, 0.18), rgba(255, 255, 255, 0.03));
}

.features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card h3,
.guide-card h3,
.faq-item summary,
.review-card footer {
  margin: 0 0 10px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.mini-grid > div {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

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

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.cart-drawer.open {
  display: block;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.54);
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(460px, 100%);
  padding: 24px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  background: #140d0a;
}

.cart-header,
.cart-total-row,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-items {
  flex: 1;
  overflow: auto;
  margin: 24px 0;
  display: grid;
  gap: 14px;
}

.cart-item {
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-btn,
.icon-btn,
.remove-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.remove-btn {
  width: auto;
  padding: 0 12px;
}

.empty-cart {
  padding: 26px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
}

.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.cart-total-row {
  font-size: 1.06rem;
  margin-bottom: 14px;
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
}

.toast-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  gap: 10px;
}

.toast {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(17, 12, 9, 0.95);
  border: 1px solid rgba(76, 195, 138, 0.25);
  color: var(--text);
  box-shadow: var(--shadow);
}

@media (max-width: 1120px) {
  .hero-grid,
  .content-grid,
  .guide-grid,
  .seo-grid,
  .features-grid,
  .reviews-grid,
  .toc-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .topbar-inner,
  .nav {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
  }

  .hero-grid,
  .content-grid,
  .guide-grid,
  .seo-grid,
  .features-grid,
  .reviews-grid,
  .hero-proof,
  .product-grid,
  .mini-grid,
  .toc-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .hero-floating-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .hero h1 {
    max-width: none;
  }

  .section {
    padding: 72px 0;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 78px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 22px));
  }

  .topbar-inner {
    min-height: 68px;
  }

  .brand-logo {
    height: 48px;
    max-width: 210px;
  }

  .nav a {
    display: none;
  }

  .hero-visual-card,
  .seo-card,
  .content-card,
  .guide-card,
  .feature-card,
  .review-card,
  .product-card,
  .cart-panel,
  .toc-card {
    border-radius: 22px;
  }

  .cart-panel {
    width: 100%;
  }

  .hero-proof > div,
  .toc-card,
  .seo-card,
  .content-card,
  .guide-card,
  .feature-card,
  .review-card,
  .product-card {
    padding: 20px;
  }
}
