:root {
  --ink: #17212b;
  --muted: #667585;
  --line: #e4e9ee;
  --soft: #f4f7fa;
  --blue: #176bff;
  --blue-dark: #0754d8;
  --mint: #00a982;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(20, 42, 70, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #f7f9fb;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  word-break: keep-all;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.topbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--blue);
  border-radius: 11px;
  font-size: 15px;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: #eaf2ff;
}
.hero {
  padding: 86px 0 70px;
  background: radial-gradient(circle at 85% 20%, #d9e9ff 0, transparent 30%), linear-gradient(135deg, #f9fbff, #edf5ff);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  color: var(--blue);
  font-weight: 850;
  font-size: 13px;
  letter-spacing: 0.08em;
}
h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  border: 0;
  border-radius: 12px;
  padding: 14px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 800;
  transition: 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 24px rgba(23, 107, 255, 0.25);
}
.btn.primary:hover {
  background: var(--blue-dark);
}
.btn.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.section {
  padding: 68px 0;
}
.section-title {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.section-desc {
  color: var(--muted);
  margin: 0 0 30px;
  line-height: 1.65;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tool-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  min-height: 300px;
  box-shadow: 0 8px 30px rgba(22, 45, 74, 0.05);
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cbdcff;
}
.tool-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 24px;
}
.tool-card:nth-child(2) .tool-icon {
  color: var(--mint);
  background: #e6faf4;
}
.tool-card:nth-child(3) .tool-icon {
  color: #7a4ee8;
  background: #f0eaff;
}
.tool-card h2 {
  margin: 24px 0 10px;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.tool-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 24px;
}
.tool-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 19px;
  color: #526271;
  background: #eef3f7;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
}
.badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 7px;
  color: var(--blue);
  background: #dbe9ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.page-head {
  padding: 50px 0 30px;
}
.page-head h1 {
  font-size: clamp(34px, 5vw, 50px);
  margin: 10px 0 12px;
}
.page-head p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.ranking-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ranking-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 900;
}
.ranking-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(23, 107, 255, 0.2);
}
.ranking-secondary {
  color: var(--blue-dark);
  background: white;
  border: 1px solid #cdd9e6;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(22, 45, 74, 0.05);
}
.filters {
  display: grid;
  grid-template-columns: 1fr 180px 240px;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}
.field label,
.field-label {
  display: block;
  margin-bottom: 8px;
  color: #475766;
  font-size: 13px;
  font-weight: 800;
}
.label-with-help {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #475766;
  font-size: 13px;
  font-weight: 800;
}
.label-with-help label {
  margin: 0;
}
.discount-help {
  position: relative;
  display: inline-flex;
}
.info-button {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid #b9c8d8;
  border-radius: 50%;
  color: var(--blue);
  background: #f3f7ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.info-button:hover,
.info-button:focus-visible {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}
.discount-popover {
  position: absolute;
  left: -120px;
  top: calc(100% + 10px);
  z-index: 40;
  display: block;
  width: min(430px, calc(100vw - 40px));
  max-height: min(620px, 75vh);
  overflow-y: auto;
  padding: 20px;
  color: var(--ink);
  background: white;
  border: 1px solid #d8e1eb;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(20, 42, 70, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.16s ease;
  font-weight: 400;
}
.discount-help:hover .discount-popover,
.discount-help:focus-within .discount-popover,
.discount-help.open .discount-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.discount-popover:before {
  content: "";
  position: absolute;
  top: -7px;
  left: 127px;
  width: 12px;
  height: 12px;
  background: white;
  border-left: 1px solid #d8e1eb;
  border-top: 1px solid #d8e1eb;
  transform: rotate(45deg);
}
.popover-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 15px;
}
.popover-head strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.popover-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.popover-close {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: #637180;
  background: var(--soft);
  font-size: 20px;
}
.discount-guide {
  display: grid;
  gap: 8px;
}
.discount-guide-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 11px;
  padding: 11px;
  background: #f7f9fc;
  border-radius: 12px;
}
.discount-rate {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}
.discount-guide-row p {
  margin: 0;
  color: #4f5f6e;
  font-size: 12px;
  line-height: 1.55;
}
.discount-guide-row p strong {
  color: var(--ink);
  font-size: 13px;
}
.popover-caution {
  display: block;
  margin: 13px 0 0;
  padding: 11px 12px;
  color: #735b24;
  background: #fff8e8;
  border-radius: 11px;
  font-size: 11px;
  line-height: 1.6;
}
.popover-source {
  display: inline-block;
  margin-top: 11px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.control {
  width: 100%;
  height: 48px;
  border: 1px solid #dbe1e7;
  border-radius: 12px;
  background: white;
  padding: 0 14px;
  color: var(--ink);
  outline: none;
}
.control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 107, 255, 0.1);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  border: 1px solid #dbe1e7;
  background: white;
  color: #526271;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
}
.chip.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.stat {
  padding: 18px;
  border-radius: 16px;
  background: var(--soft);
}
.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 7px;
}
.stat strong {
  font-size: 23px;
  letter-spacing: -0.03em;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}
th {
  text-align: left;
  color: #748190;
  background: #f8fafc;
  font-size: 12px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 12px;
  border-bottom: 1px solid #edf0f3;
  font-size: 14px;
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.rank {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
  font-weight: 900;
}
tr:nth-child(-n + 3) .rank {
  color: white;
  background: var(--blue);
}
.firm {
  font-weight: 800;
}
.sub {
  color: #8793a0;
  font-size: 12px;
  margin-top: 4px;
}
.link {
  color: var(--blue);
  font-weight: 750;
}
.empty {
  color: #a1abb5;
}
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 22px;
  align-items: start;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.field.full {
  grid-column: 1 / -1;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: var(--soft);
  border-radius: 14px;
}
.switch-copy strong {
  display: block;
  font-size: 14px;
}
.switch-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  inset: 0;
  background: #cbd3db;
  border-radius: 99px;
  transition: 0.2s;
}
.slider:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: white;
  transition: 0.2s;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}
.switch input:checked + .slider {
  background: var(--blue);
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}
.result-card {
  position: sticky;
  top: 90px;
  background: #172b4d;
  color: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(19, 42, 77, 0.2);
}
.result-card .eyebrow {
  color: #7eb0ff;
}
.total {
  padding: 24px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.total span {
  color: #b9c5d6;
  font-size: 13px;
}
.total strong {
  display: block;
  font-size: clamp(35px, 5vw, 48px);
  margin-top: 6px;
  letter-spacing: -0.05em;
}
.breakdown {
  padding: 18px 0;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 14px;
}
.breakdown-row span {
  color: #bdc8d7;
}
.breakdown-row strong {
  text-align: right;
}
.breakdown-row.discount strong {
  color: #68e2c0;
}
.result-note {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #cad4e0;
  font-size: 12px;
  line-height: 1.6;
}
.source-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.source-list a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer {
  margin-top: 70px;
  padding: 28px 0 45px;
  color: #7b8794;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 30px;
  color: #7b8794;
  font-size: 12px;
}
.breadcrumbs a {
  color: var(--blue);
}
.seo-section {
  padding: 54px 0 0;
}
.seo-section h2 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.seo-section > p,
.seo-section .shell > p {
  color: var(--muted);
  line-height: 1.75;
}
.ranking-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 28px 30px;
  color: white;
  background: linear-gradient(135deg, #176bff, #0c4bae);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(23, 107, 255, 0.18);
}
.ranking-cta-banner span {
  color: #bcd6ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.ranking-cta-banner h2 {
  margin: 6px 0;
  color: white;
  font-size: 24px;
}
.ranking-cta-banner p {
  margin: 0;
  color: #deebff;
  font-size: 13px;
  line-height: 1.6;
}
.ranking-cta-banner a {
  flex: 0 0 auto;
  display: inline-flex;
  padding: 14px 18px;
  color: var(--blue-dark);
  background: white;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
}
.ranking-criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 42px;
}
.ranking-criteria article {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.ranking-criteria span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}
.ranking-criteria h3 {
  margin: 10px 0 7px;
  font-size: 18px;
}
.ranking-criteria p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.ranking-method {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 20px 0 24px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 17px;
}
.ranking-method p {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 19px;
  background: white;
}
.ranking-method strong {
  font-size: 13px;
}
.ranking-method span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.ranking-faq {
  padding: 54px 0 0;
}
.ranking-faq h2 {
  margin: 9px 0 18px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.ranking-faq details {
  margin-top: 10px;
  padding: 0 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.ranking-faq summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 850;
}
.ranking-faq details p {
  margin: -2px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.ranking-consultant {
  margin-bottom: 54px;
}
.result-cta {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 17px;
  background: #eef5ff;
  border: 1px solid #cfe0ff;
  border-radius: 14px;
}
.result-cta strong {
  color: var(--ink);
  font-size: 14px;
}
.result-cta span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.result-cta a {
  display: inline-flex;
  justify-content: center;
  margin-top: 3px;
  padding: 12px 14px;
  color: white;
  background: var(--blue);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}
.calculator-cta-banner {
  margin-top: 22px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: 0.18s ease;
}
.guide-card:hover {
  transform: translateY(-2px);
  border-color: #bfd4ff;
  box-shadow: 0 12px 32px rgba(22, 45, 74, 0.08);
}
.guide-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.guide-card h3 {
  margin: 13px 0 8px;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.guide-card strong {
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-size: 13px;
}
.article {
  max-width: 860px;
  margin: 0 auto;
}
.article .page-head {
  padding-bottom: 20px;
}
.article-body {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(22, 45, 74, 0.05);
}
.article-body h2 {
  margin: 42px 0 14px;
  font-size: 25px;
  letter-spacing: -0.035em;
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body h3 {
  margin: 25px 0 9px;
  font-size: 18px;
}
.article-body p,
.article-body li {
  color: #526271;
  line-height: 1.8;
}
.article-body strong {
  color: var(--ink);
}
.article-body ul,
.article-body ol {
  padding-left: 22px;
}
.step-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0 !important;
  list-style: none;
  counter-reset: steps;
}
.step-list li {
  position: relative;
  padding: 17px 18px 17px 60px;
  background: var(--soft);
  border-radius: 14px;
  counter-increment: steps;
}
.step-list li:before {
  content: counter(steps);
  position: absolute;
  left: 17px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 9px;
  font-weight: 900;
  line-height: 1;
}
.comparison {
  width: 100%;
  min-width: 620px;
  margin: 18px 0;
}
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.faq-item {
  padding: 17px 18px;
  background: var(--soft);
  border-radius: 14px;
}
.faq-item h3 {
  margin: 0 0 7px;
  font-size: 16px;
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.source-box {
  margin-top: 26px;
  padding: 17px 18px;
  background: #eef4ff;
  border-radius: 14px;
  color: #526271;
  font-size: 13px;
  line-height: 1.7;
}
.source-box a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.keyword-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.keyword-links a {
  padding: 9px 11px;
  color: #526271;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
}
.visual-explainer {
  margin: 24px 0;
  padding: 22px;
  background: #f7faff;
  border: 1px solid #dce8fb;
  border-radius: 18px;
}
.visual-explainer figcaption {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.flow-line {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.flow-node {
  flex: 1;
  min-width: 0;
  padding: 15px 10px;
  text-align: center;
  color: #405264;
  background: white;
  border: 1px solid #dbe4ed;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
}
.flow-node strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 14px;
}
.flow-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  color: #8aa8d3;
  font-weight: 900;
}
.chart-bars {
  display: grid;
  gap: 13px;
}
.chart-bar {
  display: grid;
  grid-template-columns: 118px 1fr 42px;
  gap: 10px;
  align-items: center;
  color: #526271;
  font-size: 12px;
}
.chart-track {
  height: 12px;
  overflow: hidden;
  background: #dfe8f2;
  border-radius: 99px;
}
.chart-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #62a1ff);
  border-radius: inherit;
}
.chart-note {
  margin: 14px 0 0 !important;
  color: #84909c !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}
.insight-box {
  margin: 22px 0;
  padding: 18px 20px;
  color: #435466;
  background: #eef5ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  line-height: 1.75;
}
.consultant-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 42px;
  padding: 24px;
  color: white;
  background: linear-gradient(135deg, #142a4b, #1e4275);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(17, 42, 77, 0.18);
}
.consultant-photo {
  width: 190px;
  height: 160px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 16px;
  background: #dbe7f5;
}
.consultant-copy > span {
  color: #82b3ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
}
.consultant-copy h2 {
  margin: 7px 0 8px;
  color: white;
  font-size: 24px;
}
.consultant-copy p {
  margin: 0 0 16px;
  color: #cbd7e8;
  font-size: 13px;
  line-height: 1.65;
}
.consultant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.consultant-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 850;
}
.consultant-actions .consult-primary {
  color: #14325a;
  background: #ffe34d;
}
.consultant-actions .consult-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.filing-cta {
  margin-top: 42px;
  padding: 48px 54px 38px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #3284f4 0%, #1763d8 100%);
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(20, 91, 196, 0.22);
}
.filing-cta-eyebrow {
  margin: 0;
  color: #dbeaff;
  font-size: 15px;
  font-weight: 800;
}
.filing-cta h2 {
  margin: 12px 0 0;
  color: white;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.045em;
}
.filing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px;
  max-width: 1020px;
  margin: 36px auto 34px;
  padding: 0;
  list-style: none;
}
.filing-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 94px;
  padding: 20px 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 20px;
}
.filing-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -39px;
  color: white;
  font-size: 24px;
  transform: translateY(-50%);
}
.filing-step-number {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  color: #1763d8;
  background: white;
  border-radius: 50%;
  place-items: center;
  font-size: 17px;
  font-weight: 900;
}
.filing-step-copy strong,
.filing-step-copy small {
  display: block;
}
.filing-step-copy strong {
  color: white;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.filing-step-copy small {
  margin-top: 4px;
  color: #c6dcff;
  font-size: 12px;
  font-weight: 700;
}
.filing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.filing-cta-actions a {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.filing-cta-actions a:hover {
  transform: translateY(-2px);
}
.filing-cta-primary {
  color: #155ed6;
  background: white;
  box-shadow: 0 10px 24px rgba(7, 53, 126, 0.18);
}
.filing-cta-kakao {
  color: #191919;
  background: #fee500;
  box-shadow: 0 10px 24px rgba(7, 53, 126, 0.16);
}
.filing-cta-kakao span {
  padding-left: 10px;
  border-left: 1px solid rgba(25, 25, 25, 0.22);
  font-size: 12px;
}
.filing-cta-note {
  margin: 20px 0 0;
  color: #c9ddfb;
  font-size: 11px;
  line-height: 1.6;
}
.article-cta {
  margin-top: 18px;
  padding: 28px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #176bff, #094fc7);
  border-radius: 20px;
}
.article-cta span {
  color: #bfd7ff;
  font-size: 12px;
  font-weight: 850;
}
.article-cta h2 {
  margin: 8px 0 7px;
  color: white;
  font-size: 25px;
}
.article-cta p {
  max-width: 610px;
  margin: 0 auto 17px;
  color: #deebff;
  font-size: 13px;
  line-height: 1.65;
}
.article-cta a {
  display: inline-flex;
  padding: 14px 19px;
  color: var(--blue-dark);
  background: white;
  border-radius: 12px;
  font-weight: 900;
}
.article-cta small {
  display: block;
  margin-top: 12px;
  color: #c8dcff;
  font-size: 10px;
}
.mobile-cards {
  display: none;
}
@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }
  .nav {
    height: 60px;
  }
  .nav-links a {
    flex: 0 0 auto;
    padding: 8px;
    font-size: 12px;
  }
  .nav-links {
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .hero {
    padding: 60px 0 52px;
  }
  .hero p {
    font-size: 16px;
  }
  .tool-grid,
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .tool-card {
    min-height: 260px;
    padding: 24px;
  }
  .filters {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats .stat:first-child {
    grid-column: 1 / -1;
  }
  .desktop-table {
    display: none;
  }
  .mobile-cards {
    display: grid;
    gap: 12px;
  }
  .rank-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
  }
  .rank-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .rank-card .firm {
    flex: 1;
  }
  .rank-card-count {
    margin: 16px 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: end;
  }
  .rank-card-count span {
    color: var(--muted);
    font-size: 12px;
  }
  .rank-card-count strong {
    font-size: 22px;
  }
  .rank-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .result-card {
    position: static;
  }
  .panel {
    padding: 18px;
  }
  .ranking-hero-actions a {
    width: 100%;
  }
  .ranking-cta-banner {
    align-items: stretch;
    flex-direction: column;
    padding: 23px 20px;
  }
  .ranking-cta-banner a {
    justify-content: center;
    width: 100%;
  }
  .ranking-criteria,
  .ranking-method {
    grid-template-columns: 1fr;
  }
  .discount-popover {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 74px;
    width: auto;
    max-height: calc(100vh - 92px);
  }
  .discount-popover:before {
    display: none;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    min-height: 165px;
  }
  .article-body {
    padding: 22px 18px;
  }
  .flow-line {
    display: grid;
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    transform: rotate(90deg);
    min-height: 16px;
  }
  .chart-bar {
    grid-template-columns: 88px 1fr 35px;
  }
  .consultant-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .consultant-photo {
    width: 100%;
    height: 210px;
  }
  .consultant-actions a {
    width: 100%;
  }
  .filing-cta {
    padding: 34px 20px 28px;
    border-radius: 22px;
  }
  .filing-cta-eyebrow {
    font-size: 13px;
  }
  .filing-cta h2 {
    margin-top: 10px;
    font-size: clamp(27px, 8vw, 34px);
  }
  .filing-steps {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
  }
  .filing-steps li {
    min-height: 82px;
  }
  .filing-steps li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -28px;
    left: 50%;
    font-size: 20px;
    transform: translateX(-50%);
  }
  .filing-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .filing-cta-actions a {
    width: 100%;
    padding-inline: 16px;
  }
  .filing-cta-note {
    margin-top: 17px;
    font-size: 10px;
  }
  .article-cta {
    padding: 24px 18px;
  }
}
@media (min-width: 821px) and (max-width: 1040px) {
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filing-steps {
    gap: 34px;
  }
  .filing-steps li:not(:last-child)::after {
    right: -25px;
  }
}
@media (max-width: 460px) {
  .brand span:last-child {
    display: none;
  }
  .nav-links {
    gap: 0;
  }
  h1 {
    font-size: 39px;
  }
  .page-head {
    padding-top: 36px;
  }
}
