/* Shared document typography. Legal wording and dates remain unchanged. */
:root {
  --night: #191919;
  --obsidian: #191919;
  --panel: #191919;
  --gold: #dbc58e;
  --goldBright: #e7d5a1;
  --cream: #f1f0e9;
  --line: #454545;
  --dim: #bdbdb8;
  --jade: #a9c2b3;
}
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.document-header {
  max-width: 600px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.document-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--cream);
  font:
    700 22px "Gowun Batang",
    serif;
}
.document-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.document-home {
  font-size: 12px;
  color: var(--dim);
  text-underline-offset: 5px;
  padding: 12px 0;
}
.wrap {
  max-width: 600px;
  padding: 40px 24px 72px;
}
.top {
  font-size: 10px;
  letter-spacing: 0;
  color: var(--gold);
  opacity: 1;
  margin-bottom: 12px;
}
h1 {
  font:
    700 32px/1.5 "Gowun Batang",
    serif;
  color: var(--cream);
  margin: 0 0 16px;
}
h2 {
  font:
    700 19px/1.65 "Gowun Batang",
    serif;
  color: var(--cream);
  border-left: 0;
  border-top: 1px solid var(--line);
  padding: 26px 0 0;
  margin: 32px 0 14px;
}
.sub {
  line-height: 1.9;
  font-size: 12px;
}
.box {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  margin: 12px 0 22px;
  font-size: 14px;
  max-width: 100%;
}
table {
  table-layout: fixed;
  overflow-wrap: anywhere;
  background: #242424;
}
td,
th {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  vertical-align: top;
  line-height: 1.75;
  font-size: 13px;
}
th {
  background: #303030;
  color: var(--cream);
  font-weight: 600;
}
td p {
  margin: 0;
}
.tag {
  border-radius: 3px;
  display: inline-block;
  white-space: normal;
  margin-left: 0;
}
.foot {
  margin-top: 40px;
  font-size: 12px;
  line-height: 2;
}
.foot a {
  display: inline-block;
  margin: 0 14px 10px 0;
  min-height: 32px;
  text-underline-offset: 4px;
}
.no {
  color: #9a3048;
}
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .document-header {
    padding: 12px 20px;
  }
  .document-brand {
    font-size: 20px;
  }
  .wrap {
    padding: 28px 20px 52px;
  }
  h1 {
    font-size: 27px;
  }
  h2 {
    font-size: 18px;
  }
  .box {
    font-size: 13px;
  }
  td,
  th {
    padding: 10px 6px;
    font-size: 11px;
    word-break: normal;
  }
  .sub {
    font-size: 11px;
  }
  .price {
    white-space: normal !important;
  }
  .save {
    font-size: 10px;
  }
}
