:root {
  --page-bg: #f3efe6;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fffaf2;
  --border: rgba(74, 52, 28, 0.14);
  --text: #22160f;
  --muted: #705746;
  --accent: #d2622c;
  --accent-deep: #7d2810;
  --shadow: 0 24px 60px rgba(58, 30, 8, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(210, 98, 44, 0.2), transparent 28%),
    radial-gradient(circle at bottom right, rgba(125, 40, 16, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf7f0 0%, var(--page-bg) 100%);
  color: var(--text);
}

code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95em;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 36px;
}

.hero-copy,
.hero-panel,
.product-card,
.empty-state {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
}

.eyebrow,
.section-kicker,
.panel-label,
.product-status,
.product-route,
.product-updated {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.eyebrow,
.section-kicker,
.panel-label {
  color: var(--accent-deep);
  margin: 0 0 14px;
}

.hero h1,
.section-heading h2,
.product-copy h2 {
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 11ch;
}

.hero-text {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 22px 0 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  min-width: 160px;
  background: var(--surface-strong);
  border: 1px solid rgba(74, 52, 28, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
}

.hero-panel {
  padding: 28px;
}

.hero-panel ol {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.products-section {
  margin-top: 20px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.product-topline,
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-status {
  color: var(--accent-deep);
}

.product-route,
.product-updated {
  color: var(--muted);
}

.product-copy {
  display: grid;
  gap: 10px;
}

.product-copy h2 {
  font-size: 1.8rem;
}

.tagline {
  font-size: 1.06rem;
  color: var(--text);
  margin: 0;
}

.summary {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7ee;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(125, 40, 16, 0.22);
}

.product-link:hover,
.product-link:focus-visible {
  transform: translateY(-1px);
}

.empty-state {
  padding: 28px;
}

.empty-state p {
  margin: 0;
}

.empty-hint {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 1160px);
    padding-top: 20px;
  }

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

  .hero-copy {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    max-width: none;
  }

  .product-topline,
  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
