:root {
  color-scheme: light;
  --ink: #202c2b;
  --muted: #5d6967;
  --line: #dce3e1;
  --teal: #1d514b;
  --accent: #98462c;
  --paper: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
html:lang(en), html:lang(es), html:lang(nl), html:lang(fr), html:lang(de), html:lang(pt) { font-family: "Segoe UI", system-ui, Arial, sans-serif; }
html:lang(ja) { font-family: "Yu Gothic", "Meiryo", "Hiragino Kaku Gothic ProN", system-ui, sans-serif; }
html:lang(ko) { font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; word-break: keep-all; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.75; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a7502d; outline-offset: 4px; }
#app:focus { outline: none; }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.45; font-weight: 700; overflow-wrap: anywhere; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: white; position: relative; z-index: 10; }
.header-inner { max-width: 1440px; margin: auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.language-control { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.language-control label { color: var(--muted); font-size: .875rem; }
.language-control select { min-height: 44px; width: 10rem; max-width: 100%; border: 1px solid #9aaba5; border-radius: 4px; padding: 8px; color: var(--ink); background: white; cursor: pointer; }
main p, main a, main strong, main span, .site-footer p, button { overflow-wrap: anywhere; }
.category-row > div { min-width: 0; }
.category-row > span { max-width: 45%; }
.affiliate-row > strong, .affiliate-row > button { max-width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; background: var(--teal); color: #f6d58a; font-weight: 700; font-size: 1.125rem; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1rem; }
.brand small { font-size: .75rem; color: var(--muted); }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: flex; align-items: center; flex-wrap: wrap; column-gap: 5px; min-height: 44px; padding: 8px 10px; font-size: .875rem; border-radius: 4px; }
.main-nav a:hover, .main-nav a.active { background: #eaf2f0; color: var(--teal); text-decoration: none; }
.menu-button { display: none; background: white; border: 1px solid var(--line); border-radius: 4px; min-height: 44px; padding: 8px 14px; cursor: pointer; }
.demo-strip { background: #f5f6f5; border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.demo-strip .container { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-block: 10px; }
.demo-strip strong { color: var(--accent); }
.home-heading { padding: 36px 0 24px; }
.eyebrow { color: var(--teal); font-size: .875rem; font-weight: 700; margin-bottom: 8px; }
.home-heading h1 { font-size: 2.75rem; }
.lead { color: var(--muted); font-size: 1.0625rem; margin-top: 12px; max-width: 780px; }
.desk-scene { position: relative; background: #edf0ef; overflow: hidden; }
.desk-scene img { width: 100%; height: 224px; object-fit: cover; object-position: 50% 54%; }
.desk-scene figcaption { position: absolute; bottom: 12px; right: 12px; max-width: calc(100% - 24px); background: #fff; color: #475451; padding: 4px 10px; font-size: .75rem; }
.content-section { padding-block: 32px 44px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 3px; }
.text-link, .read-link { color: var(--teal); font-weight: 700; font-size: .875rem; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 6px; padding: 24px; }
.article-card.comparison { border-top-color: #ab5639; }
.article-card.guide { border-top-color: #b08b24; }
.card-top { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.type-label { font-size: .875rem; font-weight: 700; }
.demo-label { display: inline-block; color: #864022; background: #fcf0e5; border-radius: 3px; padding: 2px 8px; font-size: .875rem; font-weight: 500; }
.recollection-label { display: inline-block; color: var(--teal); background: #eaf2f0; border-radius: 3px; padding: 2px 8px; font-size: .875rem; font-weight: 500; }
.article-card h3 { margin-bottom: 12px; }
.article-card > p { font-size: 1rem; color: var(--muted); margin-bottom: 24px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.category-link { font-size: .875rem; color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.category-band { padding: 28px 0 44px; border-top: 1px solid var(--line); }
.category-band h2 { font-size: 1.125rem; margin-bottom: 14px; }
.category-links { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.category-links a { color: var(--teal); display: inline-flex; gap: 16px; align-items: center; min-height: 44px; }
.page-section { min-height: 65vh; padding-block: 24px 60px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: .875rem; margin-bottom: 24px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--teal); }
.page-heading { padding-bottom: 32px; }
.count { margin-top: 16px; font-size: .875rem; color: var(--muted); }
.category-list { border-top: 1px solid var(--line); }
.category-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 8px; border-bottom: 1px solid var(--line); }
.category-row:hover { background: #f6f9f8; text-decoration: none; }
.category-row h2 { font-size: 1.25rem; }
.category-row p { margin-top: 6px; color: var(--muted); }
.category-row > span { color: var(--teal); font-size: .875rem; flex-shrink: 0; }
.empty-state { padding-block: 40px; }
.empty-state p { margin: 12px 0 24px; color: var(--muted); }
.button { background: var(--teal); color: white; min-height: 44px; padding: 10px 18px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: .9375rem; }
.button:hover { background: #163f3a; text-decoration: none; }
.article-page { max-width: 900px; padding-block: 24px 60px; }
.article-heading h1 { font-size: 2.125rem; max-width: 860px; text-wrap: balance; }
.article-heading .lead { max-width: none; margin-top: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--muted); font-size: .875rem; margin-bottom: 20px; }
.article-meta a { min-height: 44px; display: inline-flex; align-items: center; color: var(--teal); }
.demo-notice { border-left: 3px solid #b16a38; background: #fcf7ef; padding: 16px 20px; margin: 28px 0; }
.demo-notice strong { color: #804423; }
.demo-notice p { font-size: .9375rem; margin-top: 4px; color: #5b5044; }
.article-body > section { margin-top: 32px; }
.article-body h2 { margin-bottom: 12px; font-size: 1.375rem; }
.article-body p, .article-body li { color: #485451; }
.recollection-paragraph { margin-top: 24px; font-size: 1.0625rem; line-height: 1.9; }
.source-note { border-left: 3px solid var(--teal); padding: 4px 0 4px 20px; margin-top: 32px; }
.source-note h2 { font-size: 1rem; margin-bottom: 8px; }
.source-note p { font-size: .9375rem; }
.article-body ul { padding-left: 24px; }
.article-body li { margin-block: 8px; }
.table-wrap { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
caption { text-align: left; font-weight: 700; font-size: 1.125rem; margin-bottom: 14px; }
th, td { border: 1px solid var(--line); padding: 14px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
thead th { background: #eef4f2; color: var(--teal); }
tbody th { font-weight: 500; background: #fafbfa; width: 28%; }
.affiliate-section { border-top: 1px solid var(--line); padding-top: 28px; }
.affiliate-list { margin-top: 16px; }
.affiliate-row { padding-block: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.affiliate-row button { min-height: 44px; padding: 10px 14px; border: 1px dashed #9eaba6; border-radius: 4px; background: #f3f5f4; color: #54635e; cursor: not-allowed; opacity: 1; }
.article-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 32px; }
.site-footer { background: #f5f7f6; border-top: 1px solid var(--line); padding-block: 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .875rem; color: var(--muted); }
.footer-inner > p { max-width: 530px; }
.footer-inner strong { color: var(--ink); }
@media (max-width: 1050px) {
  .header-inner { padding: 16px 24px; }
  .menu-button { display: inline-flex; }
  .brand { margin-right: auto; }
  .main-nav { display: none; position: absolute; top: 100%; left: 24px; right: 24px; background: white; border: 1px solid var(--line); border-radius: 4px; padding: 8px; box-shadow: 0 8px 24px #202c2b1a; }
  .main-nav.open { display: flex; flex-direction: column; }
  .main-nav a { padding: 12px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .header-inner { padding: 14px 18px; }
  .language-control { width: 100%; justify-content: space-between; }
  .language-control select { width: 11rem; }
  .main-nav { left: 18px; right: 18px; }
  .demo-strip .container { gap: 4px 10px; }
  .demo-strip span { font-size: .8125rem; }
  h1, .home-heading h1 { font-size: 2rem; }
  h2 { font-size: 1.375rem; }
  .home-heading { padding: 26px 0 20px; }
  .home-heading .lead { font-size: 1rem; }
  .desk-scene img { height: 180px; }
  .desk-scene figcaption { bottom: 8px; right: 8px; font-size: .75rem; }
  .content-section { padding-top: 24px; }
  .section-heading { gap: 4px; }
  .article-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-card { padding: 20px; }
  .card-top { margin-bottom: 16px; }
  .page-heading { padding-bottom: 24px; }
  .category-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .category-row > span { max-width: 100%; }
  .article-heading h1 { font-size: 1.75rem; }
  .article-meta { gap: 8px 12px; }
  .demo-notice { padding: 14px; }
  th, td { padding: 10px 8px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
