:root {
  --midnight: #1C212A;
  --walnut: #3F3228;
  --espresso: #1B1612;
  --text: #9F997F;
  --heading: #E9E4DC;
  --cognac: #C9A36B;
  --btn: #9F9773;
  --btn-hover: #B0A884;
  --line: rgba(233, 228, 220, .13);
  --surface: rgba(233, 228, 220, .045);
  --display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--midnight); }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--midnight); -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
a { color: var(--cognac); }
svg { display: block; }
:focus-visible { outline: 3px solid var(--btn); outline-offset: 3px; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.bar { background: var(--espresso); border-bottom: 1px solid var(--line); }
.bar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 80px; max-width: 1200px;
}
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 8px; background: var(--cognac); color: var(--espresso);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--heading); }
.logo-tag { font-size: .78rem; color: var(--text); margin-top: .15rem; }
@media (max-width: 560px) { .logo-tag { display: none; } }
.back { font-size: .95rem; text-decoration: none; color: var(--text); white-space: nowrap; }
.back:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 4px; }

main { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
h1 {
  font-family: var(--display); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; color: var(--heading); margin: 0;
}
.meta { margin: .9rem 0 0; font-size: .95rem; }
.card {
  margin: 2rem 0 0; padding: 1.4rem 1.6rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px;
}
.card dl { margin: 0; display: grid; gap: .45rem 1.5rem; }
@media (min-width: 620px) { .card dl { grid-template-columns: max-content 1fr; } }
.card dt { opacity: .85; }
.card dd { margin: 0; color: var(--heading); }
h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.25; color: var(--heading); margin: 2.75rem 0 .9rem;
}
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.35rem; }
li { margin-bottom: .5rem; }
strong { color: var(--heading); font-weight: 600; }
.note {
  margin: 2.5rem 0 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--cognac);
  background: rgba(201, 163, 107, .1); border-radius: 0 8px 8px 0;
}
.note p:last-child { margin-bottom: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  margin-top: 2.5rem; padding: .75rem 1.6rem; border-radius: 6px;
  font: 600 1rem/1.25 var(--sans); text-decoration: none;
  background: var(--btn); color: var(--espresso);
}
.btn:hover { background: var(--btn-hover); }

footer {
  background: var(--espresso); border-top: 1px solid var(--line);
  padding: 1.75rem 0; font-size: .88rem;
}
footer .wrap { max-width: 1200px; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 4px; }
