/* Design guide JP — dark-first, Sora + DM Sans, acento Fortuna. */
:root {
  --base:  #0F1012;
  --soft:  #212529;
  --card:  #272B2F;
  --line:  #32373D;
  --mute:  #7A7F86;
  --faint: #B2B4B7;
  --light: #F5F4F2;
  --gold:  #C88E58;
  --gold-bright: #FDBB7D;
  --gold-dim:    rgba(200,142,88,0.10);
  --gold-border: rgba(200,142,88,0.25);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--light);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

header.top {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 48px;
}

.eyebrow {
  font-family: "Barlow Condensed", "DM Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 12px;
}

h1 {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 16px;
}

h2 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 24px;
  line-height: 1.25;
  margin: 48px 0 16px;
}

h3 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 32px 0 12px;
}

p, li { color: var(--faint); }

strong { color: var(--light); font-weight: 500; }

.lead { font-size: 19px; color: var(--faint); margin: 0; }

.updated {
  font-size: 14px;
  color: var(--mute);
  margin: 16px 0 0;
}

a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-border); }
a:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

ul { padding-left: 20px; }
li { margin-bottom: 10px; }

.box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.box p:first-child { margin-top: 0; }
.box p:last-child  { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--gold);
  white-space: nowrap;
}

td { color: var(--faint); }

footer.bottom {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 24px;
  font-size: 14px;
  color: var(--mute);
}

footer.bottom a { color: var(--mute); border-bottom-color: var(--line); }
footer.bottom a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .wrap { padding: 40px 20px 72px; }
  h1 { font-size: 32px; }
  h2 { font-size: 21px; }
  body { font-size: 16px; }
}
