:root {
  --bg: #fffaf7;
  --panel: #ffffff;
  --text: #493a45;
  --muted: #766373;
  --line: #ecdde6;
  --accent: #ff9900;
  --pink: #fbe5ee;
  --mint: #e6f5ef;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff4fb 0%, #fffefb 45%, #f7fffc 100%);
}

.trust-header {
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  padding: 0.72rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.container { width: min(1100px, 92%); margin: 0 auto; padding: 1.2rem 0 2rem; }
.hero h1 { font-size: clamp(1.55rem, 4.3vw, 2.85rem); margin: 0.4rem 0 0.65rem; }
.hero p { color: var(--muted); }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.1em; }

.btn-primary {
  display: inline-block;
  text-decoration: none;
  color: #111;
  background: var(--accent);
  padding: 0.68rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.routine-builder, .products, .table-wrap, .sources {
  margin-top: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

.routine-grid, .product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.routine-grid article {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.9rem;
}
.routine-grid article:first-child { background: var(--pink); }
.routine-grid article:last-child { background: var(--mint); }
.mini-note { color: var(--muted); font-size: 0.9rem; }

.product-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.8rem;
  background: #fff;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #f4f4f4;
}
.product-card h3 { margin: 0.65rem 0 0.45rem; }
.product-card p { margin: 0 0 0.45rem; color: var(--muted); }

.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); }

.sources ul { margin: 0; padding-left: 1rem; }
.sources a { color: #7b2f63; }

.affiliate-disclosure {
  width: min(1100px, 92%);
  margin: 0 auto 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (min-width: 760px) {
  .routine-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
