/* Product page — long-form explainer */

.page-product {
  background:
    radial-gradient(ellipse 65% 35% at 12% 0%, rgba(224, 196, 160, 0.06), transparent 55%),
    var(--bg);
}

.product-hero {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  animation: site-rise 0.85s var(--ease) both;
}

.product-hero h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.85rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.product-tagline {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  color: var(--tan);
  text-wrap: balance;
}

.product-lede {
  margin: 0 0 1rem;
  color: #d8c9b8;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  max-width: 42rem;
  text-wrap: pretty;
}

.product-lede strong {
  color: var(--ink);
  font-weight: 600;
}

.product-loop {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--fur);
}

.product-section {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
  animation: site-rise 0.9s var(--ease) both;
  animation-delay: calc(0.05s * var(--i, 0) + 0.1s);
}

.product-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.product-section > p {
  margin: 0 0 1rem;
  color: #d8c9b8;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 44rem;
  text-wrap: pretty;
}

.product-section > p strong {
  color: var(--ink);
  font-weight: 600;
}

.product-steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.25rem);
}

.product-steps > li {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.product-steps h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.product-steps p {
  margin: 0 0 0.75rem;
  color: #d8c9b8;
  font-size: 1.02rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.product-steps p:last-child {
  margin-bottom: 0;
}

.product-examples {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-examples li {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.product-examples strong {
  color: var(--tan);
  font-weight: 600;
}

.product-example {
  margin: 1.5rem 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-left: 3px solid var(--tan);
  border-radius: var(--radius-md);
}

.product-example-q {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
}

.product-example ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-example li {
  margin: 0;
  color: #d8c9b8;
  font-size: 1.02rem;
  line-height: 1.5;
  padding-left: 0.15rem;
}

.product-callouts {
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-callouts p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-callouts p:last-child {
  color: var(--tan);
  font-weight: 600;
}

.product-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-top: 1.25rem;
}

.product-card {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.product-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.product-card p {
  margin: 0 0 0.65rem;
  color: #d8c9b8;
  font-size: 1rem;
  line-height: 1.5;
}

.product-card p:last-child {
  margin-bottom: 0;
  color: var(--tan);
  font-weight: 500;
}

.product-schedule {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-schedule li {
  margin: 0;
  padding: 1rem 1.15rem;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: #d8c9b8;
  font-size: 1rem;
  line-height: 1.5;
}

.product-schedule strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}

.product-compare {
  width: 100%;
  margin: 1.25rem 0 0;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.product-compare th,
.product-compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.product-compare thead th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-raise);
}

.product-compare tbody td:first-child {
  color: var(--muted);
  width: 42%;
}

.product-compare tbody td:last-child {
  color: #d8c9b8;
}

.product-compare tbody td:last-child strong {
  color: var(--tan);
  font-weight: 600;
}

.product-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-uses {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.product-uses li {
  margin: 0;
  padding: 0.45rem 0.85rem;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8c9b8;
  font-size: 0.95rem;
}

.product-close {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  animation: site-rise 0.9s var(--ease) 0.4s both;
}

.product-close h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--ink);
  text-wrap: balance;
}

.product-close .product-pillars {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-close .product-pillars p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--tan);
}

.product-close .product-loop {
  margin-top: 1rem;
}

@media (max-width: 720px) {
  .product-split {
    grid-template-columns: 1fr;
  }

  .product-compare thead {
    display: none;
  }

  .product-compare tbody tr {
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .product-compare tbody td {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
    border: none;
  }

  .product-compare tbody td:first-child {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-hero,
  .product-section,
  .product-close {
    animation: none;
  }
}
