/* === Base === */
:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-accent: #0066ff;
  --color-cta: #2ea84a;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 18px;
}

a { color: var(--color-accent); }

/* === Advertorial === */
.advertorial__header {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.advertorial__logo {
  max-height: 50px;
  width: auto;
}

.advertorial__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.advertorial__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.advertorial__headline {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.advertorial__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.advertorial__author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.advertorial__author { font-size: 0.95rem; }

.advertorial__role {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.advertorial__body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
}

.advertorial__body p { margin-bottom: 1.25rem; }

.advertorial__body ol,
.advertorial__body ul {
  margin: 0 0 1.25rem 1.5rem;
}

.advertorial__body li { margin-bottom: 0.5rem; }

.advertorial__body img {
  width: 100%;
  height: auto;
  margin: 1.5rem 0 0.5rem;
  border-radius: 4px;
}

.advertorial__body p em {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: left;
  margin-bottom: 1.5rem;
}

.advertorial__footer {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 2rem 1rem;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* === Product-Box === */
.product-box {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
}

.product-box__image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  align-self: center;
}

.product-box__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-box__rating {
  font-size: 0.9rem;
  color: #f59e0b;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.product-box__description {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #4b5563;
}

.product-box__cta {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--color-cta);
  color: #ffffff !important;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.05rem;
}

.product-box__cta:hover {
  background: #268b3d;
}

@media (max-width: 600px) {
  .product-box {
    grid-template-columns: 1fr;
  }
}

/* === Guide === */
.guide {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
}

.guide__sidebar {
  padding: 2rem 1rem 2rem 0;
  border-right: 1px solid #eee;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: start;
}

.guide__brand {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.guide__brand span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-left: 0.25rem;
}

.guide__nav-group { margin-bottom: 1.5rem; }

.guide__nav-title {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.guide__sidebar ul {
  list-style: none;
  padding-left: 0;
}

.guide__sidebar li {
  margin-bottom: 0.25rem;
}

.guide__sidebar a {
  display: block;
  padding: 0.4rem 0.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 4px;
}

.guide__sidebar a:hover {
  background: #f5f5f5;
}

.guide__sidebar a.is-active {
  background: #f0eef9;
  color: #5b21b6;
  font-weight: 600;
}

.guide__main {
  padding: 2rem 1rem;
  max-width: 760px;
}

.guide__breadcrumb {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.guide__breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.guide__doc-label {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: #f0eef9;
  color: #5b21b6;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.guide__headline {
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.guide__meta {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.guide__body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.guide__body h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.guide__body p { margin-bottom: 1.25rem; }

.guide__body ul, .guide__body ol {
  margin: 0 0 1.25rem 1.5rem;
}

/* === Stats-Grid === */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.stats__item {
  padding: 1.5rem;
  background: #faf9ff;
  border-radius: 8px;
  text-align: center;
}

.stats__value {
  font-size: 2.25rem;
  font-weight: 700;
  color: #5b21b6;
  margin-bottom: 0.25rem;
}

.stats__label {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* === Key-Insight === */
.key-insight {
  background: #1f1d2e;
  color: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid #fbbf24;
}

.key-insight__title {
  font-size: 0.85rem;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.key-insight__body {
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; }
  .guide__sidebar { border-right: none; border-bottom: 1px solid #eee; min-height: auto; position: static; }
  .stats { grid-template-columns: 1fr; }
}
