:root {
  --ink: #1c1a17;
  --ink-soft: #4a4238;
  --mist: #f6f1ea;
  --sand: #eadfce;
  --accent: #c06b3e;
  --accent-2: #2b6f6b;
  --glow: #f2c36a;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(24, 20, 16, 0.15);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

body.checkout-open {
  overflow: hidden;
}

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

picture {
  display: block;
}

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

.page-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px 400px at 10% 10%, rgba(242, 195, 106, 0.2), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(43, 111, 107, 0.16), transparent 65%),
    linear-gradient(120deg, rgba(234, 223, 206, 0.6), rgba(246, 241, 234, 0.9));
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(28, 26, 23, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(246, 241, 234, 0.9);
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  display: grid;
  gap: 4px;
}

.brand span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(28, 26, 23, 0.2);
  background: #fffaf3;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--glow));
  color: #1b1209;
  box-shadow: 0 16px 30px rgba(192, 107, 62, 0.3);
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(28, 26, 23, 0.2);
  color: var(--ink);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

section {
  margin-bottom: 90px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding-top: 30px;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.1;
  margin: 16px 0 12px;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-2);
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
}

.price-note {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.strike {
  text-decoration: line-through;
  color: rgba(28, 26, 23, 0.45);
}

.strike-label {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  margin-right: 6px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.trust-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(28, 26, 23, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(28, 26, 23, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.hero-card img {
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

.hero-float {
  position: absolute;
  bottom: -20px;
  right: 10px;
  background: var(--ink);
  color: #fff7eb;
  padding: 14px 20px;
  border-radius: 16px;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  box-shadow: 0 18px 40px rgba(20, 14, 8, 0.3);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  background: rgba(255, 255, 255, 0.75);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.stat h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

.checklist li::before {
  content: "\2713";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 700;
}

.text-link {
  font-weight: 600;
  color: var(--accent);
}

.section-head {
  max-width: 700px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 12px 0 0;
}

.features {
  background: rgba(255, 255, 255, 0.7);
  padding: 50px;
  border-radius: var(--radius);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fffaf3;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(28, 26, 23, 0.08);
  box-shadow: 0 12px 25px rgba(28, 26, 23, 0.08);
}

.feature-card h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.specs {
  background: #fffaf3;
  padding: 50px;
  border-radius: var(--radius);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.spec-list {
  display: grid;
  gap: 14px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed rgba(28, 26, 23, 0.15);
  padding-bottom: 8px;
}

.spec-card {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.guide {
  display: grid;
  gap: 28px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.guide-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(28, 26, 23, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 25px rgba(28, 26, 23, 0.08);
}

.guide-card h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.spec-badge {
  background: rgba(43, 111, 107, 0.1);
  padding: 12px;
  border-radius: 12px;
  margin: 18px 0;
  font-weight: 600;
  color: var(--accent-2);
}

.fineprint {
  font-size: 0.8rem;
  color: rgba(28, 26, 23, 0.6);
}

.policies {
  background: rgba(255, 255, 255, 0.85);
  padding: 50px;
  border-radius: var(--radius);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.policy-card {
  background: #fffaf3;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(28, 26, 23, 0.08);
  box-shadow: 0 12px 25px rgba(28, 26, 23, 0.08);
}

.policy-card h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.reviews {
  background: rgba(28, 26, 23, 0.04);
  padding: 50px;
  border-radius: var(--radius);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.review-card {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.review-card span {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--accent-2);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.85rem;
}

.legal-links a {
  color: var(--ink-soft);
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.footer-links a {
  color: #f6f1ea;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.buy {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(234, 223, 206, 0.7));
  padding: 60px;
  border-radius: var(--radius);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
}

.buy-card {
  background: #fff;
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.buy-subhead {
  margin: 24px 0 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.buy-header h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.buy-options {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.option {
  border: 1px solid rgba(28, 26, 23, 0.2);
  background: #fffaf3;
  padding: 12px 16px;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
}

.option.active {
  border-color: var(--accent);
  background: rgba(192, 107, 62, 0.12);
}

.buy-actions {
  display: grid;
  gap: 12px;
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq details {
  background: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(28, 26, 23, 0.08);
  box-shadow: 0 10px 25px rgba(28, 26, 23, 0.08);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-footer {
  padding: 60px 32px;
  background: #1c1a17;
  color: #f6f1ea;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.sticky-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s ease;
  z-index: 20;
}

.sticky-copy {
  display: grid;
  gap: 2px;
  font-weight: 600;
}

.sticky-price {
  color: var(--accent);
  font-size: 0.95rem;
}

.sticky-bar.show {
  transform: translateX(-50%) translateY(0);
}

[data-checkout-open] {
  cursor: pointer;
}

.checkout-drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
}

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

.checkout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 8, 0.55);
}

.checkout-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(520px, 100%);
  background: #fff;
  padding: 32px 28px 40px;
  box-shadow: -20px 0 40px rgba(28, 26, 23, 0.2);
  display: grid;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

.checkout-drawer.open .checkout-panel {
  transform: translateX(0);
}

.checkout-close {
  border: none;
  background: rgba(28, 26, 23, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  justify-self: flex-end;
}

.checkout-subtitle {
  color: var(--ink-soft);
  margin-top: -8px;
}

.checkout-content {
  display: grid;
  gap: 20px;
}

.checkout-summary {
  background: #fffaf3;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.summary-total {
  font-weight: 700;
  border-top: 1px solid rgba(28, 26, 23, 0.1);
  padding-top: 10px;
}

.checkout-actions {
  display: grid;
  gap: 12px;
}

.checkout-success {
  background: rgba(43, 111, 107, 0.12);
  padding: 12px;
  border-radius: 12px;
  color: var(--accent-2);
  font-weight: 600;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.policy-page {
  max-width: 900px;
}

.policy-content {
  background: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.policy-content h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin-top: 0;
}

.policy-content h2 {
  font-family: "Fraunces", serif;
  margin-top: 32px;
}

.policy-content ul {
  padding-left: 20px;
}

.policy-content ol {
  padding-left: 20px;
}

.policy-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 32px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(28, 26, 23, 0.08);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  main {
    padding: 24px 20px 60px;
  }

  .hero-card {
    transform: none;
  }

  .features,
  .specs,
  .buy,
  .policies {
    padding: 30px 24px;
  }

  .sticky-bar {
    width: calc(100% - 32px);
    justify-content: space-between;
  }

  .checkout-panel {
    padding: 24px 20px 32px;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 16px 20px;
  }

  .nav-links {
    right: 20px;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-float {
    position: static;
    margin-top: 20px;
  }

  .checkout-panel {
    width: 100%;
    border-radius: 0;
  }
}
