/* Japan GTM Notes — plain static styles. System fonts only. */

:root {
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --rule: #d8d8d8;
  --accent: #8c1d18;
  --bg: #ffffff;
  --panel: #f7f5f0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, .masthead .site-name {
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  line-height: 1.25;
}

a { color: var(--accent); text-decoration: underline; }
a:hover { text-decoration: none; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Masthead */
.masthead {
  border-bottom: 3px double var(--ink);
  padding: 28px 0 16px;
  text-align: center;
}
.masthead .site-name {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
}
.masthead .site-name a { color: var(--ink); text-decoration: none; }
.masthead .tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 8px 0 0;
}
.masthead nav {
  margin-top: 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.masthead nav a {
  color: var(--ink);
  text-decoration: none;
  margin: 0 10px;
}
.masthead nav a:hover { text-decoration: underline; }

/* Sections */
section { padding: 28px 0 4px; }
section + section { border-top: 1px solid var(--rule); }
h2.section-title {
  font-size: 1.35rem;
  margin: 0 0 6px;
}
.section-lede { color: var(--muted); margin: 0 0 14px; }

/* Theme list */
.themes { list-style: none; margin: 0; padding: 0; }
.themes li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.themes li:last-child { border-bottom: none; }
.themes .theme-name { font-weight: 700; }
.themes .theme-desc { color: var(--muted); font-size: 0.95rem; }

/* Article list */
.articles { list-style: none; margin: 0; padding: 0; }
.articles li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.articles li:last-child { border-bottom: none; }
.articles .article-title { font-size: 1.15rem; font-weight: 700; }
.articles .article-title a { color: var(--ink); text-decoration: none; }
.articles .article-title a:hover { text-decoration: underline; }
.articles .meta { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.articles .summary { margin: 6px 0 0; font-size: 0.97rem; }

/* Newsletter box */
.newsletter {
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 22px 24px;
  margin: 28px 0;
}
.newsletter h2 { margin: 0 0 8px; font-size: 1.3rem; }
.newsletter p { margin: 0 0 14px; }
.button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 10px 22px;
  text-decoration: none;
  font-size: 0.95rem;
}
.button:hover { background: var(--accent); }

/* Article page */
.article-header { padding: 32px 0 8px; }
.article-header .kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 10px;
}
.article-header h1 { font-size: 2rem; margin: 0 0 10px; }
.article-header .byline { color: var(--muted); font-size: 0.9rem; }
article h2 { font-size: 1.4rem; margin: 32px 0 10px; }
article p { margin: 0 0 16px; }
article ul, article ol { margin: 0 0 16px; padding-left: 24px; }
article li { margin-bottom: 6px; }
article table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 20px;
  font-size: 0.93rem;
}
article th, article td {
  border: 1px solid var(--rule);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
article th { background: var(--panel); }
article hr { border: none; border-top: 1px solid var(--rule); margin: 28px 0; }
.sources { font-size: 0.85rem; color: var(--muted); }
.cta-box {
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 20px 24px;
  margin: 28px 0;
}
.cta-box p { margin: 0 0 10px; }
.cta-box ul { margin: 0; }

/* Footer */
footer {
  border-top: 3px double var(--ink);
  margin-top: 40px;
  padding: 20px 0 36px;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--muted); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .masthead .site-name { font-size: 1.8rem; }
  .masthead nav a { margin: 0 5px; }
  .article-header h1 { font-size: 1.55rem; }
  article table { font-size: 0.85rem; }
  article th, article td { padding: 6px 7px; }
}
