/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fafaf9;
  --text: #1c1c1c;
  --text-light: #6b6b6b;
  --border: #e5e5e0;
  --accent: #d94f2b;
  --accent-hover: #b83d1f;
  --card-bg: #ffffff;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text);
  text-decoration: none;
}

/* ===== Header ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.site-header nav {
  display: flex;
  gap: 2rem;
}

.site-header nav a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color 0.2s;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--text);
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: 650px;
  margin: 0 auto;
}

.week-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* ===== Product Section ===== */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  align-items: center;
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f4;
  aspect-ratio: 1 / 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-number {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 600;
}

.product-details h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.5rem 0;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.product-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.product-why {
  background: #fef9f2;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
}

.buy-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.buy-button:hover {
  background: var(--accent-hover);
}

.affiliate-note {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 0.75rem;
}

/* ===== Section Divider ===== */
.section-divider {
  text-align: center;
  font-size: 1.5rem;
  color: var(--border);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: var(--border);
}

.section-divider::before {
  left: 0;
}

.section-divider::after {
  right: 0;
}

/* ===== Next Week ===== */
.next-week {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 500px;
  margin: 2rem auto;
}

.next-week p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.email-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.email-form input {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font);
  width: 260px;
  background: #fff;
}

.email-form button {
  background: var(--text);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}

.email-form button:hover {
  background: #333;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Archive Page ===== */
.archive-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.archive-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
}

.archive-header p {
  color: var(--text-light);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.archive-card {
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.archive-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.archive-card-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.archive-card-images img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f5f5f4;
}

.archive-card-info {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.week-badge {
  font-weight: 600;
  font-size: 0.9rem;
}

.week-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== About Page ===== */
.about-section {
  max-width: 650px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.about-section h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.about-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.about-section p,
.about-section li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-section ol,
.about-section ul {
  padding-left: 1.5rem;
}

.about-section a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .product-details h2 {
    font-size: 1.3rem;
  }

  .archive-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-header {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .email-form {
    flex-direction: column;
    align-items: center;
  }

  .email-form input {
    width: 100%;
  }
}