/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text: #1a1a1a;
  --text-muted: #555;
  --text-light: #777;
  --bg: #fafafa;
  --bg-white: #ffffff;
  --border: #e5e5e5;
  --accent: #1a1a1a;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  transition: color 0.15s;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, opacity 0.2s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #333;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: #f0f0f0;
}

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  flex: 1;
  text-align: center;
}

.btn-outline-small {
  background: transparent;
  border: 1px solid #ccc;
  color: #333;
}

.btn-outline-small:hover {
  background: #f5f5f5;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 4.5rem 1rem 3.5rem;
  background: var(--bg-white);
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.85rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===== Sections ===== */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

/* ===== Concerns Grid ===== */
.concerns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.concern-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.concern-card:hover {
  border-color: #999;
  box-shadow: var(--shadow);
}

.concern-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.concern-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== Concern Page ===== */
.page-header {
  padding: 2.5rem 0 1.5rem;
}

.page-header h1 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.page-header .intro {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* ===== Product Cards ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.product-card .brand {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.product-card .summary {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.product-card .actions {
  display: flex;
  gap: 0.5rem;
}

/* ===== Product Detail ===== */
.product-detail {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.product-detail h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.product-detail .brand {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.product-detail .one-liner {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.product-detail h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.6rem 0 0.45rem;
}

.product-detail ul {
  padding-left: 1.2rem;
}

.product-detail li {
  margin-bottom: 0.35rem;
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
}

/* Where to buy */
.where-to-buy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.where-to-buy h2 {
  margin-top: 0;
}

.disclosure {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}

.buy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.buy-btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.buy-btn:hover {
  opacity: 0.88;
}

.buy-btn.amazon {
  background: #ff9900;
  color: #000;
}

.buy-btn.sephora {
  background: #000;
  color: #fff;
}

.buy-btn.other {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
}

.compare-box {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 1.15rem;
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.95rem;
}

.compare-box a {
  text-decoration: underline;
  margin-left: 0.25rem;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 3rem 1rem 2.5rem;
  }

  .product-detail {
    padding: 1.5rem;
  }

  .buy-buttons {
    flex-direction: column;
  }

  .buy-btn {
    text-align: center;
  }
}
