:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #102a43;
  --text: #1f2937;
  --muted: #5b6675;
  --line: #d7dde8;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #e8f5f2;
  --warm: #c2412f;
  --warm-soft: #fff0ec;
  --shadow: 0 20px 60px rgba(16, 42, 67, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.85;
}

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

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

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

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.brand-mark,
.avatar {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: #ffffff;
  font-weight: 800;
}

.avatar-image {
  display: block;
  object-fit: cover;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-nav a,
.category-pill,
.tag,
.tag-list em {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.site-nav a.is-active,
.category-pill,
.tag:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article {
  max-width: 860px;
  margin-inline: auto;
}

.article-header {
  padding: 24px 0 10px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 2.7rem;
  line-height: 1.26;
}

h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.35;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.55;
}

p {
  margin: 0;
}

.lead {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  color: #334155;
  font-size: 1.08rem;
}

.featured-image {
  margin: 34px 0 34px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
}

.compare-column {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.compare-column:first-child {
  border-top: 4px solid var(--warm);
}

.compare-column:last-child {
  border-top: 4px solid var(--accent);
}

.compare-column h2 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.compare-column ul,
.toc ol,
.article-content ul {
  margin: 0;
  padding-left: 1.25rem;
}

.compare-column li + li,
.toc li + li,
.article-content li + li {
  margin-top: 6px;
}

.soft-cta,
.bottom-cta {
  margin: 36px 0;
  padding: 24px;
  border-radius: 8px;
}

.soft-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.soft-cta p {
  color: var(--muted);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.3;
}

.button:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.button.light {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--surface-strong);
}

.button.light:hover {
  background: var(--accent-soft);
  color: var(--surface-strong);
}

.button.outline {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #ffffff;
}

.button.outline:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.toc,
.profile-section,
.video-section,
.taxonomy,
.related-section,
.category-section,
.latest-section {
  margin: 56px 0;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.toc h2 {
  margin-bottom: 16px;
}

.toc a {
  color: var(--accent-strong);
  font-weight: 700;
}

.profile-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.profile-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.profile-item p {
  color: var(--muted);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: #ffffff;
}

.video-section p {
  color: #dce6f1;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: #7dd3fc;
  font-weight: 800;
}

.video-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #000000;
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.article-content {
  margin-top: 58px;
}

.article-content h2 {
  margin-top: 62px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-content h3 {
  margin-top: 26px;
  color: var(--accent-strong);
}

.article-content p,
.article-content li {
  font-size: 1.05rem;
}

.article-content p {
  margin-top: 14px;
}

.article-note {
  margin: 28px 0;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.bottom-cta {
  background: var(--surface-strong);
  color: #ffffff;
}

.bottom-cta h2 {
  margin-top: 6px;
}

.bottom-cta p {
  color: #e8eef5;
}

.cta-kicker {
  color: #9ee6dd !important;
  font-weight: 800;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cta-note {
  margin-top: 14px;
  font-size: 0.9rem;
}

.taxonomy {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.taxonomy h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag.category {
  background: var(--warm-soft);
  color: var(--warm);
}

.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 56px;
}

.prev-next a {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.prev-next span,
.related-card span,
.article-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.prev-next strong,
.related-card strong,
.article-card strong {
  display: block;
  margin-top: 6px;
  line-height: 1.5;
}

.related-grid,
.article-card-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.related-card,
.article-card,
.category-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.related-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-card span,
.related-card strong,
.article-card span,
.article-card strong,
.article-card p,
.article-card .tag-list {
  margin-inline: 16px;
}

.related-card span,
.article-card span {
  margin-top: 14px;
}

.related-card strong,
.article-card strong {
  margin-bottom: 18px;
}

.article-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-card .tag-list {
  margin-top: 14px;
  margin-bottom: 16px;
}

.article-card .tag-list em {
  min-height: 28px;
  padding: 2px 9px;
  font-size: 0.78rem;
}

.top-page,
.listing-page {
  padding-bottom: 44px;
}

.top-hero,
.listing-header {
  padding: 58px 0 48px;
}

.top-hero {
  max-width: 820px;
}

.top-hero h1,
.listing-header h1 {
  font-size: 3rem;
}

.top-hero p,
.listing-header p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}

.top-hero .button {
  margin-top: 26px;
}

.category-card {
  padding: 20px;
}

.category-card strong {
  display: block;
  font-size: 1.18rem;
}

.category-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 800;
}

@media (max-width: 860px) {
  h1,
  .top-hero h1,
  .listing-header h1 {
    font-size: 2.1rem;
  }

  .site-header,
  .site-footer,
  .soft-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-grid,
  .video-section,
  .taxonomy,
  .prev-next,
  .related-grid,
  .article-card-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .video-section {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 1120px);
  }

  h1,
  .top-hero h1,
  .listing-header h1 {
    font-size: 1.78rem;
  }

  h2 {
    font-size: 1.38rem;
  }

  .lead,
  .article-content p,
  .article-content li {
    font-size: 1rem;
  }

  .soft-cta,
  .bottom-cta,
  .toc,
  .compare-column {
    padding: 18px;
  }
}

/* Logo-aligned simple theme */
:root {
  --bg: #171717;
  --surface: #ffffff;
  --surface-strong: #171717;
  --text: #151515;
  --muted: #686868;
  --line: #d8d8d8;
  --accent: #aeff00;
  --accent-strong: #6ea300;
  --accent-soft: #efffcb;
  --warm: #171717;
  --warm-soft: #f3f3f3;
  --shadow: none;
}

body {
  background: var(--bg);
  color: var(--text);
}

.site-header,
.site-footer {
  color: #ffffff;
}

.site-header {
  padding: 18px 0;
}

.brand {
  color: #ffffff;
}

.brand-logo {
  width: 68px;
  height: 68px;
  border: 1px solid #2b2b2b;
  border-radius: 0;
  object-fit: cover;
}

.brand {
  font-size: 1.22rem;
}

.brand small {
  display: inline-block;
  margin-bottom: 3px;
  font-size: 0.92rem;
  color: var(--accent);
}

.site-nav a,
.category-pill,
.tag,
.tag-list em {
  border-color: #2b2b2b;
  background: #ffffff;
  color: #171717;
}

.site-nav a.is-active,
.category-pill,
.tag:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #171717;
}

main {
  padding-bottom: 44px;
}

.top-page,
.listing-page,
.article {
  padding: 46px;
  background: #ffffff;
}

.top-page,
.listing-page {
  margin-top: 18px;
}

.article {
  margin-bottom: 42px;
}

.breadcrumbs {
  color: #d7d7d7;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.listing-header,
.top-hero {
  padding: 16px 0 38px;
}

h1,
.top-hero h1,
.listing-header h1 {
  color: #151515;
  font-size: 2.55rem;
  font-weight: 900;
}

h2,
h3 {
  color: #151515;
}

.eyebrow {
  color: #171717;
  letter-spacing: 0.08em;
}

.lead,
.top-hero p,
.listing-header p,
.article-card p,
.profile-item p {
  color: var(--muted);
}

.featured-image,
.related-card,
.article-card,
.category-card,
.compare-column,
.toc,
.profile-item,
.prev-next a {
  border-color: #171717;
  border-radius: 0;
  box-shadow: none;
}

.article-card,
.related-card,
.category-card,
.compare-column,
.toc,
.profile-item,
.prev-next a {
  transition: transform 160ms ease, border-color 160ms ease;
}

.article-card:hover,
.related-card:hover,
.category-card:hover,
.prev-next a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.compare-column:first-child,
.compare-column:last-child {
  border-top-color: #171717;
}

.compare-column h2 {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 2px 8px;
  background: #171717;
  color: #ffffff;
}

.compare-column:last-child h2 {
  background: var(--accent);
  color: #171717;
}

.button {
  border-color: #171717;
  border-radius: 0;
  background: #171717;
  color: #ffffff;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #171717;
}

.soft-cta,
.bottom-cta,
.video-section {
  border-radius: 0;
  background: #171717;
  color: #ffffff;
}

.soft-cta {
  border-color: #171717;
}

.soft-cta p,
.bottom-cta p,
.video-section p {
  color: #eeeeee;
}

.button.light {
  border-color: var(--accent);
  background: var(--accent);
  color: #171717;
}

.button.light:hover,
.button.outline:hover {
  background: #ffffff;
  color: #171717;
}

.button.outline {
  border-color: #ffffff;
  color: #ffffff;
}

.cta-kicker {
  color: var(--accent) !important;
}

.toc a,
.text-link,
.site-footer a {
  color: #171717;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.video-section .text-link {
  color: var(--accent);
}

.avatar {
  border-radius: 0;
  background: #171717;
}

.tag.category {
  background: var(--accent);
  color: #171717;
}

.site-footer {
  border-top-color: #303030;
}

.site-footer p {
  color: #cfcfcf;
}

.site-footer a {
  color: var(--accent);
}

@media (max-width: 860px) {
  .top-page,
  .listing-page,
  .article {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .top-page,
  .listing-page,
  .article {
    padding: 20px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }
}

/* Bright simple theme */
:root {
  --bg: #f4f7ec;
  --surface: #ffffff;
  --surface-strong: #f0ffd3;
  --text: #24301f;
  --muted: #66705f;
  --line: #dbe4cf;
  --accent: #aeff00;
  --accent-strong: #597900;
  --accent-soft: #f2ffd8;
  --warm: #8a7a34;
  --warm-soft: #fff8dc;
}

body {
  background: var(--bg);
  color: var(--text);
}

.site-header,
.site-footer {
  color: var(--text);
}

.brand,
.breadcrumbs {
  color: var(--text);
}

.brand small {
  color: var(--accent-strong);
}

.brand-logo {
  border-color: var(--line);
}

.site-nav a,
.category-pill,
.tag,
.tag-list em {
  border-color: var(--line);
  background: #ffffff;
  color: var(--text);
}

.site-nav a.is-active,
.category-pill,
.tag:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text);
}

.breadcrumbs a:hover {
  color: var(--accent-strong);
}

.top-page,
.listing-page,
.article {
  background: #ffffff;
}

.compare-column h2,
.compare-column:last-child h2 {
  background: var(--accent-soft);
  color: var(--text);
}

.button,
.button.light {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text);
}

.button:hover,
.button.light:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #ffffff;
}

.soft-cta,
.bottom-cta {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.soft-cta p,
.bottom-cta p {
  color: var(--text);
}

.button.outline {
  border-color: var(--accent-strong);
  background: #ffffff;
  color: var(--text);
}

.button.outline:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text);
}

.cta-kicker {
  color: var(--accent-strong) !important;
}

.avatar {
  background: var(--accent);
  color: var(--text);
}

.toc a,
.text-link,
.site-footer a {
  color: var(--accent-strong);
}

.site-footer {
  border-top-color: var(--line);
}

.site-footer p {
  color: var(--muted);
}

.category-meta {
  margin: 42px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-meta h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.profile-item {
  grid-template-columns: 144px 1fr;
  align-items: center;
}

.profile-item .avatar {
  width: 144px;
  height: 144px;
  border-radius: 50%;
}

.profile-item .avatar-image {
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.compare-grid {
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: stretch;
}

.compare-arrow {
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.compare-arrow::before {
  content: "→";
}

@media (max-width: 860px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .profile-item {
    grid-template-columns: 96px 1fr;
  }

  .profile-item .avatar {
    width: 96px;
    height: 96px;
  }

  .compare-arrow {
    min-height: 34px;
  }

  .compare-arrow::before {
    content: "↓";
  }
}
