html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 168px, #f7f8fa 168px, #f7f8fa 100%) !important;
  color: #191f28 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI",
    Roboto, "Noto Sans KR", "Helvetica Neue", Arial, sans-serif !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1.66 !important;
}

* {
  box-sizing: border-box;
}

main {
  width: min(980px, calc(100% - 32px)) !important;
  margin: 0 auto;
  padding: 22px 0 64px !important;
}

.back {
  min-height: 36px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px !important;
  padding: 0 12px;
  border: 1px solid #e5e8eb;
  border-radius: 7px;
  background: #ffffff;
  color: #4e5968 !important;
  font-size: 13px;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(25, 31, 40, 0.04);
}

.back::before {
  content: "←";
  color: #8b95a1;
  font-size: 14px;
}

header,
section,
footer {
  border: 1px solid #e5e8eb !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(25, 31, 40, 0.04) !important;
}

header {
  position: relative;
  overflow: hidden;
  padding: 30px !important;
}

header::before {
  content: "TP";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 7px;
  background: #191f28;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

section,
footer {
  padding: 24px 26px !important;
  margin-top: 12px !important;
}

header + section,
section + section,
section + footer {
  margin-top: 12px !important;
}

h1,
h2,
h3,
p,
li,
a,
b,
strong,
span {
  letter-spacing: 0 !important;
}

h1 {
  max-width: 780px;
  color: #191f28 !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
}

h2 {
  color: #191f28 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

h3 {
  color: #333d4b !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

p,
li {
  color: #333d4b !important;
  font-size: 15px;
}

p {
  margin: 8px 0 !important;
}

.lead {
  max-width: 820px;
  color: #333d4b !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
}

.muted {
  color: #6b7684 !important;
  font-size: 13px !important;
}

a {
  color: #3182f6 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

code {
  border-radius: 6px !important;
  background: #f2f4f6 !important;
  padding: 2px 6px !important;
  color: #333d4b !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.94em !important;
}

a:hover {
  color: #1b64da !important;
  text-decoration: none !important;
}

nav {
  gap: 8px !important;
}

nav:not(.footer-links) a,
footer > a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  background: #f2f4f6;
  padding: 5px 9px;
  color: #4e5968 !important;
  font-size: 13px;
}

nav:not(.footer-links) a:hover,
footer > a:hover {
  background: #e8f3ff;
  color: #1b64da !important;
}

ul,
ol {
  padding-left: 22px !important;
}

li::marker {
  color: #8b95a1;
  font-weight: 800;
}

.summary {
  gap: 10px !important;
}

.summary div {
  border: 1px solid #e5e8eb !important;
  border-radius: 8px !important;
  background: #f7f8fa !important;
  padding: 16px !important;
}

.formula {
  border: 1px solid #e5e8eb !important;
  border-radius: 8px !important;
  background: #f7f8fa !important;
  padding: 16px !important;
}

.summary b {
  color: #191f28 !important;
  font-size: 14px;
}

.summary span {
  color: #4e5968 !important;
  font-size: 13px;
  line-height: 1.58;
}

.cta-row,
.pill-list,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-row {
  margin-top: 18px;
}

.cta-row a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 8px 13px;
  background: #191f28;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.cta-row a.secondary {
  border: 1px solid #e5e8eb;
  background: #ffffff;
  color: #4e5968 !important;
}

.pill-list {
  margin-top: 12px;
}

.pill-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f2f4f6;
  padding: 6px 10px;
  color: #4e5968;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2 !important;
}

.stock-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.stock-list a {
  display: block;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  color: #191f28 !important;
}

.stock-list a:hover {
  border-color: #b9d9ff;
  background: #f7fbff;
}

.stock-list b {
  display: block;
  color: #191f28;
  font-size: 15px;
}

.stock-list span {
  display: block;
  margin-top: 4px;
  color: #6b7684;
  font-size: 13px;
  line-height: 1.5;
}

.note,
.caution,
.example {
  border-left-width: 1px !important;
  border-radius: 8px !important;
}

.note {
  border-color: #c6efe0 !important;
  background: #f4fbf8 !important;
}

.caution {
  border-color: #ffe0a3 !important;
  background: #fff9ea !important;
}

.example {
  border-color: #d6e8ff !important;
  background: #f5f9ff !important;
}

.contact-box {
  border: 1px solid #e5e8eb !important;
  border-radius: 8px !important;
  background: #f7f8fa !important;
  padding: 18px !important;
}

footer {
  border-width: 1px 0 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6b7684 !important;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer-copy {
  max-width: 560px;
}

.footer-brand {
  margin: 0 !important;
  color: #333d4b !important;
  font-weight: 800;
}

.footer-copy {
  margin-top: 4px !important;
  max-width: 540px;
  color: #6b7684 !important;
  font-size: 13px !important;
  line-height: 1.58 !important;
}

footer p {
  color: #6b7684 !important;
  font-size: 13px;
}

.footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: flex-start;
  gap: 8px 16px !important;
}

.footer-links a {
  min-height: auto !important;
  display: inline !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: #6b7684 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.footer-links a:hover {
  background: transparent !important;
  color: #333d4b !important;
}

footer > a {
  margin: 2px 0;
}

@media (min-width: 900px) {
  .site-footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-links {
    justify-content: flex-end;
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  body {
    background: #f7f8fa !important;
  }

  main {
    width: min(100% - 20px, 980px) !important;
    padding-top: 14px !important;
  }

  header,
  section,
  footer {
    padding: 20px !important;
  }

  header::before {
    margin-bottom: 14px;
  }

  .stock-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 28px !important;
  }

  .summary {
    grid-template-columns: 1fr !important;
  }
}
