/* Palang Book — shared style for the language pages (en/, ja/, …).
   Same look as the Korean root pages, which keep their own inline CSS. */
:root {
  color-scheme: light dark;
  --bg: #ffffff; --fg: #1d1d1f; --muted: #6e6e73;
  --card: #f5f5f7; --accent: #ff9500; --line: #e5e5ea;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1c1c1e; --fg: #f5f5f7; --muted: #98989d;
          --card: #2c2c2e; --line: #3a3a3c; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7; overflow-wrap: break-word;
}
:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
            "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
            line-break: strict; }
:lang(zh-Hans) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
                 "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(zh-Hant) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC",
                 "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
            "Noto Sans KR", sans-serif; word-break: keep-all; }
main { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
h1 { font-size: 1.9rem; margin: 8px 0 4px; }
h2 { font-size: 1.25rem; margin: 40px 0 12px; }
p, li { color: var(--fg); }
.sub { color: var(--muted); font-size: 0.95rem; }
.logo { font-size: 2.6rem; }
.contact, .highlight {
  background: var(--card); border-radius: 16px; padding: 20px 24px;
  border-left: 4px solid var(--accent); margin: 24px 0;
}
details {
  background: var(--card); border-radius: 12px;
  padding: 14px 18px; margin: 10px 0;
}
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 4px; }
a { color: var(--accent); }
ol li, ul li { margin: 6px 0; }
ul.features { padding-left: 1.2em; }
ul.features li { margin: 12px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
         color: var(--muted); font-size: 0.9rem; }
nav.langs { font-size: 0.85rem; margin: -24px 0 24px; }
nav.langs ul { list-style: none; margin: 0; padding: 0;
               display: flex; flex-wrap: wrap; gap: 4px 14px; }
nav.langs li { margin: 0; color: var(--muted); }
nav.langs a { text-decoration: none; }
nav.langs a:hover { text-decoration: underline; }
nav.langs [aria-current] { color: var(--fg); font-weight: 600; }
