:root {
  color-scheme: light;
  --ink: #20232b;
  --muted: #555d6b;
  --accent: #8b304b;
  --accent-dark: #712439;
  --brand: #233653;
  --line: #dadee5;
  --quiet: #f5f6f8;
  --paper: #fff;
  --shell: 1060px;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfbfc;
  font-size: 1rem;
  line-height: 1.77;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: var(--accent-dark); text-underline-offset: .19em; }
a:hover { color: var(--accent); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #a54764; outline-offset: 3px; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 780; line-height: 1.29; letter-spacing: -.04em; }
.shell { width: min(var(--shell), calc(100% - 56px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  background: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.masthead { background: #fff; border-top: 3px solid var(--brand); border-bottom: 1px solid var(--line); }
.masthead-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px 27px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 1.16rem;
  font-weight: 820;
  line-height: 1.21;
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand-icon { display: block; flex: 0 0 32px; width: 32px; height: 32px; }
.primary-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px clamp(14px, 2.3vw, 28px); }
.primary-nav a, .site-footer nav a { color: var(--ink); font-size: .92rem; font-weight: 660; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .site-footer nav a:hover { color: var(--accent-dark); text-decoration: underline; }

.article-frame { padding-block: 34px 64px; }
.main-guide, .subpage-content {
  min-width: 0;
  background: var(--paper);
  border: 1px solid #e8e9ee;
  padding: clamp(24px, 4vw, 47px);
}
.article-header { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(2rem, 4.3vw, 3.12rem); color: #20232b; }
.article-date { color: var(--muted); font-size: .89rem; margin-top: 12px; }
.article-date time { margin-left: 5px; }
.article-lead { padding-top: 17px; font-size: 1.05rem; }
.article-lead p + p { margin-top: 11px; }
.article-lead a { font-weight: 670; }

.guide-section { margin-top: 40px; }
.guide-section + .guide-section { padding-top: 24px; border-top: 1px solid var(--line); }
.guide-section h2, .subpage-content h2 { font-size: clamp(1.47rem, 2.85vw, 2.02rem); }
.guide-section h3 { font-size: clamp(1.12rem, 1.6vw, 1.28rem); margin-top: 23px; }
.guide-section p, .subpage-content p { margin-top: 8px; }
.guide-section:target > h2, .offer-section h2 { color: var(--accent-dark); }
.offer-section { margin-top: 27px; }
.offer-section .offer-note { font-size: .89rem; color: var(--muted); }

.promo-list { display: grid; gap: 8px; padding: 0; margin: 13px 0 0; list-style: none; }
.promo-card {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.promo-card:focus-within { border-color: var(--accent); }
.promo-info { min-width: 0; }
.promo-info a { display: inline-block; font-size: 1.02rem; font-weight: 770; color: var(--ink); text-decoration: none; }
.promo-info a:hover { color: var(--accent-dark); text-decoration: underline; }
.promo-info span { display: block; color: var(--accent-dark); font-weight: 660; line-height: 1.45; }

.button, .bonus-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid #d3bac3;
  border-radius: 4px;
  background: #f8edf0;
  color: var(--accent-dark);
  font-size: .88rem;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: #f0dfe4; }
.bonus-button:disabled { cursor: default; }

.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); }
.table-wrap > table { width: 100%; min-width: 490px; border-collapse: collapse; line-height: 1.55; }
.table-wrap th, .table-wrap td { padding: 9px 13px; text-align: left; font-size: .94rem; }
.table-wrap thead th { color: var(--brand); background: #edf0f5; white-space: nowrap; }
.table-wrap tbody tr { border-top: 1px solid var(--line); }
.table-wrap tbody tr:nth-child(even) { background: #fafafb; }
.table-wrap th a { text-decoration: none; }
.table-wrap th a:hover { text-decoration: underline; }

.review-list { margin-top: 25px; }
.review-card { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 19px; }
.review-card:target { border-color: var(--accent); background: #fcf6f8; box-shadow: 0 0 0 5px #fcf6f8; }
.review-card h3 { margin: 0; }
.review-card h3 span { margin-left: 7px; color: var(--muted); font-size: .92rem; font-weight: 650; letter-spacing: -.015em; }
.review-card strong { font-size: .9rem; color: var(--accent-dark); margin-right: 5px; }
.review-card .review-check { color: var(--muted); }
.review-card .review-points-title { margin-top: 12px; font-weight: 750; }
.review-points-title span { margin-left: 5px; color: var(--muted); font-size: .87rem; font-weight: 550; }
.review-card .review-points { margin-top: 3px; }

.note { padding: 10px 13px; background: #f6f3f5; border-left: 3px solid #c899a7; }
.small-note, .source-note { font-size: .88rem; color: var(--muted); }
.example { margin-top: 15px; }
.example p { margin-top: 3px; }
.text-link { display: inline-block; margin-top: 10px; font-weight: 730; }
.article-list { margin: 9px 0 0; padding-left: 1.3em; }
.article-list li + li { margin-top: 7px; }

.article-photo { margin-top: 20px; max-width: 520px; }
.article-photo img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); }
.article-photo figcaption { color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: 7px; }

.faq-list { margin-top: 15px; border-top: 1px solid var(--line); }
.faq-item { padding-block: 13px; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin-top: 0; }
.faq-item p { margin-top: 5px; }

.subpage { max-width: 895px; min-height: 60vh; padding-block: 37px 58px; }
.subpage-heading { padding: 0 0 16px; }
.subpage-heading h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); color: var(--brand); }
.subpage-heading p { color: var(--muted); margin-top: 7px; }
.subpage-content { padding: clamp(19px, 3.8vw, 41px); }
.subpage-content section + section { margin-top: 23px; }
.subpage-content > .button { margin-top: 25px; }
.subpage-content ul { padding-left: 1.35em; }

.contact-fields { display: grid; gap: 8px; width: min(100%, 540px); margin: 16px 0 0; padding: 0; border: 0; }
.contact-fields label { font-weight: 660; }
.contact-fields input, .contact-fields textarea, .contact-fields select {
  width: 100%;
  color: var(--ink);
  background: var(--quiet);
  border: 1px solid var(--line);
  padding: 8px;
  opacity: 1;
}
.contact-fields .bonus-button { justify-self: start; margin-top: 5px; }

.site-footer { border-top: 1px solid var(--line); background: #f2f3f6; }
.footer-inner { min-height: 68px; padding-block: 14px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }

@media (max-width: 690px) {
  .shell { width: calc(100% - 28px); }
  .masthead-inner { display: grid; justify-content: start; min-height: 0; padding-block: 12px 10px; gap: 8px; }
  .primary-nav, .site-footer nav { gap: 3px 14px; }
  .primary-nav a { font-size: .88rem; }
  .article-frame { padding-block: 17px 34px; }
  .main-guide { padding: 19px 14px; }
  .article-header h1 { font-size: clamp(1.84rem, 6.1vw, 2.42rem); }
  .article-date { margin-top: 8px; }
  .article-lead { font-size: 1rem; }
  .guide-section { margin-top: 29px; }
  .guide-section + .guide-section { padding-top: 20px; }
  .promo-card { gap: 8px; min-height: 69px; padding: 8px; }
  .promo-info a, .promo-info span { font-size: .88rem; }
  .bonus-button { min-height: 36px; padding-inline: 7px; font-size: .82rem; }
  .table-wrap th, .table-wrap td { padding-inline: 9px; }
  .review-card h3 span { display: block; margin: 3px 0 0; }
  .subpage { padding-block: 22px 38px; }
}

@media (max-width: 355px) {
  .primary-nav { column-gap: 9px; }
  .primary-nav a { font-size: .83rem; }
}
