:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #d62839;
  --accent-hover: #b91c2f;
  --max-width: 1100px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: var(--text);
  font-weight: 600;
}

.hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.featured {
  padding: 40px 0 64px;
}

.featured h2 {
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 0;
  margin-top: 40px;
  color: var(--muted);
}

/* Article page */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.article-main,
.article-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-main {
  padding: 28px;
}

.article-sidebar {
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 92px;
}

.breadcrumbs {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-title {
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

.article-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.disclosure {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.lead {
  font-size: 1.08rem;
  color: #374151;
  margin-bottom: 26px;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}

.product-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #f3f4f6;
}

.product-description p {
  margin-top: 0;
}

.product-actions {
  margin-top: 14px;
}

.product-actions .btn {
  padding: 10px 16px;
}

.sidebar-section + .sidebar-section {
  margin-top: 28px;
}

.sidebar-section h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li + li {
  margin-top: 10px;
}

.article-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .card-grid,
  .article-layout,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .nav {
    gap: 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }

  .article-main,
  .article-sidebar,
  .card {
    padding: 18px;
  }
}