:root {
  --ivory: #f7f1e8;
  --ivory-deep: #efe2d2;
  --paper: #fffdf9;
  --cocoa: #5a321f;
  --cocoa-dark: #3f2114;
  --sage: #879a63;
  --sage-dark: #6f8050;
  --sage-pale: #e8ecd9;
  --peach: #f3dfcc;
  --ink: #2f241e;
  --muted: #6d625c;
  --line: rgba(90, 50, 31, 0.15);
  --shadow: 0 20px 60px rgba(90, 50, 31, 0.11);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --content: 1180px;
  --font-display: ui-rounded, "Arial Rounded MT Bold", "Avenir Next Rounded", "Trebuchet MS", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(135, 154, 99, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--cocoa-dark);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--ivory);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--cocoa);
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.5rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

p {
  margin-top: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.announcement {
  padding: 8px 20px;
  color: white;
  background: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 128px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: var(--cocoa-dark);
  font-weight: 750;
}

.desktop-nav a,
.footer-links a,
.text-link {
  position: relative;
}

.desktop-nav a::after,
.footer-links a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--sage);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.footer-links a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.shop-bag {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.shop-bag svg {
  width: 21px;
  stroke: var(--cocoa);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--cocoa);
}

.mobile-nav {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  color: white;
  background: var(--sage);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(111, 128, 80, 0.22);
  font-weight: 850;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--sage-dark);
  box-shadow: 0 14px 30px rgba(111, 128, 80, 0.28);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--cocoa);
  background: transparent;
  border: 1px solid rgba(90, 50, 31, 0.28);
  box-shadow: none;
}

.button-secondary:hover {
  color: white;
  background: var(--cocoa);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 25%, rgba(135, 154, 99, 0.16), transparent 22%),
    var(--ivory);
}

.hero-grid {
  display: grid;
  min-height: 660px;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
  padding: 65px 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin-bottom: 22px;
}

.hero-copy .lead {
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.microcopy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 48% 48% 28px 28px;
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 18%;
  transform: scale(1.62);
  transform-origin: 96% 42%;
}

.hero-badge {
  position: absolute;
  right: -24px;
  bottom: 34px;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--cocoa);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  text-align: center;
  transform: rotate(7deg);
}

.benefit-strip {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefit-item {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 20px;
  color: var(--cocoa);
  font-weight: 850;
  text-align: left;
}

.benefit-item + .benefit-item {
  border-left: 1px solid var(--line);
}

.benefit-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cocoa);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.86rem;
}

.feature-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
}

.feature-media {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}

.feature-list-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.feature-list-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--cocoa);
}

.check {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--sage);
  border-radius: 50%;
  font-weight: 900;
}

.steps-card {
  display: grid;
  grid-template-columns: 0.75fr repeat(3, 1fr);
  gap: 18px;
  padding: 28px;
  background: var(--peach);
  border-radius: var(--radius-md);
}

.step-intro {
  padding: 18px;
}

.step {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.82);
  border-radius: var(--radius-sm);
}

.step img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.step-copy {
  padding: 16px;
}

.step-number {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 7px;
  place-items: center;
  color: white;
  background: var(--cocoa);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.use-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.use-card img {
  position: absolute;
  top: -200%;
  width: 300%;
  max-width: none;
  height: 300%;
  object-fit: fill;
  transition: transform 350ms ease;
}

.use-card:hover img {
  transform: scale(1.035);
}

.use-card:nth-child(1) img {
  left: 0;
}

.use-card:nth-child(2) img {
  left: -100%;
}

.use-card:nth-child(3) img {
  left: -200%;
}

.use-label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  color: white;
  background: rgba(90, 50, 31, 0.9);
  border-radius: 999px;
  font-weight: 800;
}

.purchase-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px 42px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.purchase-price {
  color: var(--cocoa);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
}

.purchase-copy strong {
  display: block;
  color: var(--cocoa);
  font-size: 1.15rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 65px;
}

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

details {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px;
}

summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  color: var(--cocoa-dark);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "+";
  font-size: 1.5rem;
  transform: translateY(-52%);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: -2px 22px 20px;
  color: var(--muted);
}

.site-footer {
  padding: 54px 0 28px;
  background: #eee6d8;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

.footer-brand img {
  width: 128px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 300px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  display: inline-block;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-bottom {
  display: flex;
  margin-top: 42px;
  padding-top: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

/* Product page */
.breadcrumb {
  padding: 28px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a:hover {
  color: var(--cocoa);
}

.product-main {
  padding: 20px 0 80px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 62px;
}

.product-gallery {
  position: sticky;
  top: 118px;
}

.gallery-main {
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-main img.crop-room-use {
  transform: scale(1.75);
  transform-origin: 96% 35%;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.gallery-thumb {
  padding: 0;
  overflow: hidden;
  background: var(--ivory);
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--sage);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-info {
  padding-top: 10px;
}

.product-info h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.product-price {
  margin-bottom: 18px;
  color: var(--cocoa);
  font-family: var(--font-display);
  font-size: 2rem;
}

.product-bullets {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.product-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-bullets li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background: var(--sage);
  border-radius: 50%;
  content: "✓";
  font-size: 0.74rem;
  font-weight: 900;
}

.buy-row {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 14px;
  margin-top: 28px;
}

.quantity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border: 1px solid rgba(90, 50, 31, 0.25);
  border-radius: 999px;
}

.quantity button {
  height: 100%;
  color: var(--cocoa);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.25rem;
}

.quantity output {
  text-align: center;
  font-weight: 850;
}

.buy-row .button {
  width: 100%;
}

.checkout-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  text-align: right;
}

.shipping-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.shipping-card {
  padding: 16px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.shipping-card strong,
.shipping-card span {
  display: block;
}

.shipping-card strong {
  color: var(--cocoa);
  font-size: 0.93rem;
}

.shipping-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.feature-card-copy {
  padding: 24px;
}

.details-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  padding: 34px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  color: var(--cocoa);
  font-size: 0.9rem;
}

/* Policy pages */
.policy-hero {
  padding: 74px 0 54px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.policy-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.policy-hero p {
  margin-bottom: 0;
  color: var(--muted);
}

.policy-content {
  width: min(calc(100% - 40px), 840px);
  margin: 0 auto;
  padding: 64px 0 90px;
}

.policy-content h2 {
  margin-top: 48px;
  font-size: 1.75rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  margin-top: 30px;
  font-size: 1.12rem;
}

.policy-content p,
.policy-content li {
  color: #4f4540;
}

.policy-content a {
  color: var(--cocoa);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-underline-offset: 3px;
}

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

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 42px;
}

.policy-summary div {
  padding: 20px;
  color: var(--cocoa);
  background: var(--sage-pale);
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 36px 0;
}

.contact-card {
  padding: 24px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card strong {
  margin-bottom: 5px;
  color: var(--cocoa);
}

dialog {
  width: min(calc(100% - 40px), 510px);
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 90px rgba(45, 24, 15, 0.3);
}

dialog::backdrop {
  background: rgba(44, 31, 25, 0.56);
  backdrop-filter: blur(4px);
}

.dialog-body {
  padding: 34px;
}

.dialog-body h2 {
  font-size: 2rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.dialog-close {
  color: var(--cocoa);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-inner > .shop-bag {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    z-index: 99;
    top: 111px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 30px 20px;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .mobile-nav.open {
    transform: translateX(0);
  }

  .mobile-nav a {
    padding: 18px 8px;
    color: var(--cocoa);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.45rem;
  }

  .hero-grid,
  .feature-split,
  .product-layout,
  .details-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .steps-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-intro {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .product-layout {
    gap: 36px;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .announcement {
    font-size: 0.76rem;
  }

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

  .brand img,
  .footer-brand img {
    width: 112px;
  }

  .mobile-nav {
    top: 100px;
  }

  .hero-grid {
    min-height: auto;
    padding: 48px 0 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-badge {
    right: 8px;
    bottom: 18px;
    width: 96px;
    height: 96px;
    font-size: 0.9rem;
  }

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

  .benefit-item {
    min-height: 92px;
    justify-content: flex-start;
    font-size: 0.88rem;
  }

  .benefit-item + .benefit-item {
    border-left: 0;
  }

  .benefit-item:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .benefit-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps-card,
  .use-grid,
  .feature-card-grid,
  .footer-links,
  .policy-summary,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .step-intro {
    grid-column: auto;
  }

  .use-card {
    min-height: 290px;
  }

  .purchase-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px;
    text-align: center;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-main {
    padding-bottom: 50px;
  }

  .product-info h1 {
    font-size: 2.75rem;
  }

  .buy-row {
    grid-template-columns: 1fr;
  }

  .quantity {
    min-height: 52px;
  }

  .shipping-cards {
    grid-template-columns: 1fr;
  }

  .details-panel {
    gap: 20px;
    padding: 24px;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    padding: 8px 0;
  }

  .spec-table td {
    padding-top: 0;
  }

  .gallery-thumbs {
    gap: 8px;
  }

  .gallery-main img {
    height: 300px;
    aspect-ratio: auto;
  }

  .gallery-thumb {
    height: 78px;
  }

  .gallery-thumb img {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
