:root {
  --bg: #edf1f3;
  --panel: #ffffff;
  --ink: #17212b;
  --muted: #64727e;
  --line: #d8e0e5;
  --line-strong: #bdc9d0;
  --accent: #e65243;
  --teal: #147c78;
  --teal-dark: #0f625f;
  --surface-soft: #f5f7f8;
  --strong-bg: #17212b;
  --on-strong: #ffffff;
  --teal-soft: rgba(20, 124, 120, 0.09);
}

.site-web {
  scroll-behavior: smooth;
  background: var(--bg, #edf1f3);
}

.site-web,
.site-web body {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.site-web body {
  background: var(--bg, #edf1f3);
}

.site-info-page {
  margin: 0;
  font-family: "Segoe UI", "Malgun Gothic", sans-serif;
}

.site-info-page * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.site-info-page a:focus-visible,
.site-info-page button:focus-visible {
  outline: 3px solid rgba(20, 124, 120, 0.28);
  outline-offset: 3px;
}

.site-skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--strong-bg, #17212b);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform 120ms ease;
}

.site-skip-link:focus {
  transform: translateY(0);
}

.site-topbar {
  position: relative;
  z-index: 60;
  min-height: 54px;
  border-bottom: 1px solid var(--line, #d8e0e5);
  background: var(--panel, #fff);
}

.site-topbar-inner,
.site-content-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-topbar-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-wordmark {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink, #17212b);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-wordmark img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.site-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 20px;
}

.site-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--muted, #64727e);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.site-links a:hover,
.site-links a.active {
  color: var(--ink, #17212b);
}

.site-links a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent, #e65243);
}

.site-install-button {
  min-width: 76px;
  height: 34px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line-strong, #bdc9d0);
  border-radius: 5px;
  background: var(--surface-soft, #f5f7f8);
  color: var(--ink, #17212b);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.site-install-button[hidden] {
  display: none;
}

.site-install-button svg {
  width: 15px;
  height: 15px;
}

.site-web #practice-tool {
  min-height: calc(100dvh - 54px);
}

.site-web .app-shell {
  height: calc(100dvh - 54px);
  min-height: 660px;
}

.site-content {
  border-top: 1px solid var(--line, #d8e0e5);
  background: var(--panel, #fff);
  color: var(--ink, #17212b);
}

.site-intro-band,
.site-guide-band,
.site-about-band {
  padding: 64px 0;
}

.site-guide-band {
  border-top: 1px solid var(--line, #d8e0e5);
  border-bottom: 1px solid var(--line, #d8e0e5);
  background: var(--surface-soft, #f5f7f8);
}

.site-intro-layout,
.site-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 70px;
}

.site-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-dark, #0f625f);
  font-size: 10px;
  font-weight: 800;
}

.site-content h2,
.site-content h3,
.site-content p {
  margin-top: 0;
}

.site-content h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.35;
}

.site-content p {
  margin-bottom: 0;
  color: var(--muted, #64727e);
  font-size: 14px;
  line-height: 1.8;
}

.site-privacy-note {
  min-height: 106px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-left: 4px solid var(--teal, #147c78);
  background: var(--teal-soft, rgba(20, 124, 120, 0.09));
}

.site-privacy-note svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: var(--teal-dark, #0f625f);
}

.site-privacy-note strong,
.site-privacy-note span {
  display: block;
}

.site-privacy-note strong {
  margin-bottom: 7px;
  font-size: 13px;
}

.site-privacy-note span {
  color: var(--muted, #64727e);
  font-size: 12px;
  line-height: 1.65;
}

.site-section-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.site-section-heading h2 {
  margin-bottom: 0;
}

.site-section-heading > p {
  max-width: 410px;
  padding-bottom: 3px;
  text-align: right;
}

.site-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-guide-card {
  min-height: 218px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line, #d8e0e5);
  border-radius: 6px;
  background: var(--panel, #fff);
}

.site-guide-number {
  margin-bottom: 24px;
  color: var(--accent, #e65243);
  font-size: 11px;
  font-weight: 800;
}

.site-guide-card h3 {
  margin-bottom: 9px;
  font-size: 16px;
}

.site-guide-card p {
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.7;
}

.site-guide-card a {
  margin-top: auto;
  color: var(--teal-dark, #0f625f);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.site-guide-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-about-layout > p {
  max-width: 570px;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line, #d8e0e5);
  background: var(--strong-bg, #17212b);
  color: var(--on-strong, #fff);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.site-footer span,
.site-footer a,
.site-footer small {
  color: #c2ccd2;
  font-size: 10px;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.article-container {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
}

.article-title-band,
.guide-index-heading {
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.breadcrumb {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal-dark);
}

.article-title-band h1,
.guide-index-heading h1 {
  max-width: 800px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.35;
}

.article-title-band > .article-container > p,
.guide-index-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.article-meta {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 800;
}

.article-layout {
  padding-top: 64px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: start;
  gap: 64px;
}

.article-body {
  min-width: 0;
}

.article-layout-single {
  grid-template-columns: minmax(0, 720px);
}

.article-section + .article-section {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.45;
}

.article-section > p {
  margin: 0;
  color: #46545e;
  font-size: 15px;
  line-height: 1.95;
}

.article-section > p + p {
  margin-top: 18px;
}

.article-summary {
  position: sticky;
  top: 24px;
  padding: 20px 0 20px 18px;
  border-left: 3px solid var(--accent);
}

.article-summary > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.article-summary ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.article-summary li {
  position: relative;
  padding-left: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.article-summary li + li {
  margin-top: 9px;
}

.article-summary li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

.article-steps,
.article-bullets,
.article-links {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.article-steps {
  border-top: 1px solid var(--line);
}

.article-steps li {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.article-steps li > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.article-steps p {
  margin: 0;
  color: #46545e;
  font-size: 14px;
  line-height: 1.75;
}

.article-bullets {
  display: grid;
  gap: 10px;
}

.article-bullets li {
  position: relative;
  padding: 13px 15px 13px 36px;
  border-left: 2px solid var(--teal);
  background: var(--surface-soft);
  color: #46545e;
  font-size: 13px;
  line-height: 1.7;
}

.article-bullets li::before {
  content: "✓";
  position: absolute;
  top: 13px;
  left: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.article-links a {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-color: rgba(20, 124, 120, 0.35);
  text-underline-offset: 4px;
}

.article-links a:hover {
  text-decoration-color: currentColor;
}

.article-callout {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid rgba(20, 124, 120, 0.25);
  border-radius: 5px;
  background: var(--teal-soft);
}

.article-callout strong {
  display: block;
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: 11px;
}

.article-callout p {
  margin: 0;
  color: #46545e;
  font-size: 13px;
  line-height: 1.75;
}

.article-next {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.article-next .article-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.article-next span,
.article-next strong {
  display: block;
}

.article-next div > span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
}

.article-next strong {
  color: var(--ink);
  font-size: 13px;
}

.article-next a,
.guide-index-item > a {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.article-next a:hover,
.guide-index-item > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-editorial-image {
  width: 100%;
  margin: 40px 0 0;
  overflow: hidden;
  border-radius: 6px;
  background: #17212b;
}

.guide-editorial-image img {
  width: 100%;
  height: auto;
  display: block;
}

.guide-index-list {
  padding-top: 30px;
  padding-bottom: 80px;
}

.guide-index-item {
  min-height: 170px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}

.guide-index-item:first-child {
  border-top: 1px solid var(--line);
}

.guide-index-item .site-guide-number {
  margin: 0;
  align-self: start;
}

.guide-index-item .site-kicker {
  margin-bottom: 7px;
}

.guide-index-item h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.guide-index-item p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 760px) {
  .site-topbar-inner,
  .site-content-inner {
    width: min(100% - 24px, 1180px);
  }

  .site-topbar-inner {
    gap: 12px;
  }

  .site-wordmark span {
    display: none;
  }

  .site-links {
    gap: 14px;
  }

  .site-links a {
    font-size: 10px;
  }

  .site-install-button {
    min-width: 42px;
    width: 42px;
    padding: 0;
  }

  .site-install-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .site-web .app-shell {
    height: calc(100dvh - 54px);
    min-height: 560px;
  }

  .site-intro-band,
  .site-guide-band,
  .site-about-band {
    padding: 44px 0;
  }

  .site-intro-layout,
  .site-about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .site-content h2 {
    font-size: 23px;
  }

  .site-section-heading {
    display: block;
  }

  .site-section-heading > p {
    margin-top: 10px;
    text-align: left;
  }

  .site-guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-guide-card {
    min-height: 190px;
  }

  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .site-footer nav {
    display: none;
  }

  .article-container {
    width: min(100% - 28px, 960px);
  }

  .article-title-band,
  .guide-index-heading {
    padding: 42px 0 38px;
  }

  .breadcrumb {
    margin-bottom: 28px;
  }

  .article-title-band h1,
  .guide-index-heading h1 {
    font-size: 29px;
  }

  .article-title-band > .article-container > p,
  .guide-index-heading p {
    font-size: 14px;
  }

  .article-layout {
    padding-top: 42px;
    padding-bottom: 56px;
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .article-layout-single {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-summary {
    position: static;
    grid-row: 1;
  }

  .article-section + .article-section {
    margin-top: 42px;
    padding-top: 42px;
  }

  .article-section h2 {
    font-size: 21px;
  }

  .article-section > p {
    font-size: 14px;
  }

  .article-next .article-container {
    display: block;
  }

  .article-next a {
    margin-top: 18px;
    display: inline-block;
  }

  .guide-editorial-image {
    margin-top: 30px;
  }

  .guide-index-list {
    padding-bottom: 56px;
  }

  .guide-index-item {
    min-height: 0;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .guide-index-item > a {
    grid-column: 2;
  }
}

@media (max-width: 390px) {
  .site-links a:nth-child(3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-web {
    scroll-behavior: auto;
  }
}

.error-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.error-page-main {
  width: min(100%, 520px);
  text-align: center;
}

.error-page-main img {
  margin-bottom: 24px;
  border-radius: 12px;
}

.error-page-main h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 30px;
}

.error-page-main p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.error-page-main a {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  background: var(--strong-bg);
  color: var(--on-strong);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
