html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus,
.sr-only:focus-visible {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #1c1814;
  color: #fff;
  border-radius: 10px;
}

.tools-home {
  margin: 0;
  background: #f9f7f3;
  color: #1c1814;
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.tools-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 18px 72px;
}

.tools-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.tools-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.tools-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: block;
}

.tools-brand span {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .07em;
}

.tools-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tools-nav a,
.tools-back-link {
  color: #1c1814;
  text-decoration: none;
  border: 1px solid #e8e2d8;
  background: #fffefb;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(28, 24, 20, .04);
}

.tools-nav a:hover,
.tools-back-link:hover {
  border-color: #7eb5e8;
}

.tools-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #00704a;
  background: rgba(0, 112, 74, .11);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 10px;
}

.tools-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 900;
  max-width: 780px;
}

.tools-hero p {
  margin: 10px 0 0;
  color: #4a423c;
  max-width: 680px;
  font-size: clamp(14px, 1.8vw, 16px);
}

.tools-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 0;
}

.tools-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffefb;
  border: 1px solid #e8e2d8;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13px;
  color: #4a423c;
}

.tools-step b {
  color: #7eb5e8;
  font-size: 12px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  text-decoration: none;
  color: inherit;
  background: #fffefb;
  border: 1px solid #e8e2d8;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(28, 24, 20, .04), 0 10px 28px rgba(28, 24, 20, .06);
}

.tool-card:hover {
  border-color: #7eb5e8;
  transform: translateY(-2px);
}

.tool-card:focus-visible,
.tools-nav a:focus-visible,
.tools-back-link:focus-visible {
  outline: 3px solid #7eb5e8;
  outline-offset: 3px;
}

.tool-card .tag {
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(126, 181, 232, .16);
  color: #28618e;
}

.tool-card h2 {
  margin: 12px 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
  letter-spacing: 0;
}

.tool-card p {
  margin: 0;
  color: #4a423c;
  font-size: 15px;
}

.tool-card .mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tool-card .mini-list span {
  border: 1px solid #e8e2d8;
  border-radius: 999px;
  padding: 5px 9px;
  color: #4a423c;
  background: #f5f3ee;
  font-size: 12px;
  font-weight: 700;
}

.tool-card .open-text {
  margin-top: auto;
  padding-top: 14px;
  color: #00704a;
  font-weight: 800;
}

.tools-note {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid #e8e2d8;
  background: #f5f3ee;
  border-radius: 14px;
  color: #4a423c;
  font-size: 13px;
}

.tools-note strong {
  color: #1c1814;
}

@media (max-width: 720px) {
  .tools-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .tools-nav {
    justify-content: flex-start;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 250px;
    padding: 18px;
  }
}
