:root {
  --navy: #0b1e38;
  --ink: #14233a;
  --muted: #647188;
  --blue: #0b63d8;
  --blue-dark: #0752b7;
  --blue-soft: #eef5ff;
  --page: #f6f8fc;
  --panel: #ffffff;
  --line: #dce5f2;
  --shadow: 0 16px 40px rgba(26, 64, 114, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, Pretendard, Arial, "Malgun Gothic", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #78aef2;
  outline-offset: 3px;
}
.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;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 18px;
  z-index: 100;
  padding: 11px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }
.content-shell, .header-inner, .hero-inner {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e6edf7;
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}
.brand b, .site-footer strong span { color: var(--blue); }
.brand small {
  display: block;
  margin-top: 5px;
  color: #788397;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.main-nav a {
  padding: 23px 0;
  color: #526177;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 700;
}
.main-nav a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: var(--blue);
}
.button-primary:hover { background: var(--blue-dark); }

.hero {
  background-color: #fff;
  background-image:
    linear-gradient(rgba(33, 103, 190, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 103, 190, .04) 1px, transparent 1px);
  background-size: 36px 36px;
  border-bottom: 1px solid #e8eef7;
}
.hero-inner {
  max-width: 900px;
  padding-top: 78px;
  padding-bottom: 62px;
  text-align: center;
}
.hero h1 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(49.92px, 6.24vw, 70.72px);
  line-height: 1;
  letter-spacing: -.075em;
}
.hero h1 span {
  color: var(--blue);
  font-weight: 900;
}
.hero-copy {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.hero-search {
  max-width: 720px;
  min-height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 7px 6px 18px;
  background: #fff;
  border: 1px solid #9ebfea;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(17, 79, 158, .13);
}
.hero-search svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}
.hero-search input {
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}
.hero-search input::placeholder { color: #8a94a3; opacity: 1; }
.hero-search button {
  align-self: stretch;
  min-width: 76px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.hero-search button:hover { background: var(--blue-dark); }
.quick-search {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  color: #8994a5;
  font-size: 12px;
}
.quick-search > span { margin-right: 2px; font-weight: 700; }
.quick-search button {
  padding: 6px 11px;
  border: 0;
  border-radius: 999px;
  background: #edf2f9;
  color: #54647b;
  font-size: 12px;
}
.quick-search button:hover {
  background: #dfeafb;
  color: var(--blue);
}
.search-feedback {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.services-section { padding: 78px 0 86px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}
.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.section-heading h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -.045em;
}
.section-heading > p {
  max-width: 400px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  min-height: 235px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #aac6eb;
  box-shadow: var(--shadow);
}
.service-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #a9b6c8;
  font-size: 12px;
  font-weight: 800;
}
.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 10px;
  font-size: 17px;
  font-weight: 900;
}
.service-card h3 {
  margin-bottom: 9px;
  font-size: 21px;
  letter-spacing: -.025em;
}
.service-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}
.service-tag {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.conversion-section {
  padding: 78px 0 90px;
  background: var(--page);
  border-top: 1px solid #e8edf5;
}
.conversion-heading { margin-bottom: 30px; }
.conversion-board {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5e0ef;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.conversion-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px;
  background: #edf2f8;
  gap: 6px;
}
.conversion-tabs button {
  min-height: 48px;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #647187;
  font-size: 14px;
  font-weight: 800;
}
.conversion-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 3px 10px rgba(36, 68, 108, .08);
}
.conversion-panel { padding: 30px; }
.converter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.converter-card {
  min-width: 0;
  padding: 22px;
  background: #f3f7fd;
  border: 1px solid #e2eaf5;
  border-radius: 12px;
}
.converter-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.converter-card h3 {
  margin-bottom: 0;
  font-size: 19px;
}
.converter-card header span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.converter-card label {
  display: block;
  margin: 22px 0 7px;
  color: #68768b;
  font-size: 12px;
  font-weight: 700;
}
.value-input {
  min-height: 48px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #dce5f1;
  border-radius: 8px;
}
.value-input input {
  width: 100%;
  min-width: 0;
  padding: 11px 8px 11px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  text-align: right;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.value-input span {
  padding-right: 13px;
  color: #7b8798;
  font-size: 14px;
}
.converter-card dl { margin: 12px 0 0; }
.converter-card dl div {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 3px;
  border-bottom: 1px solid #e1e8f2;
  font-size: 12px;
}
.converter-card dl div:last-child { border-bottom: 0; }
.converter-card dt { color: #66748a; }
.converter-card dd {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.panel-intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.panel-intro strong { font-size: 16px; }
.panel-intro span { color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  min-width: 110px;
  padding: 14px;
  border: 1px solid var(--line);
  text-align: center;
}
thead th { background: var(--blue-soft); color: #315782; }
tbody th { background: #f8fafc; }
.condition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.condition-grid article {
  padding: 24px;
  background: #f3f7fd;
  border: 1px solid #e0e8f4;
  border-radius: 12px;
}
.condition-grid article > span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.condition-grid strong {
  color: var(--ink);
  font-size: 19px;
}
.condition-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.reference-note {
  margin: 0;
  padding: 0 30px 24px;
  color: #758197;
  font-size: 12px;
}

.site-footer {
  background: #101d33;
  color: #fff;
}
.footer-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 44px;
}
.footer-inner strong { font-size: 18px; }
.footer-inner p {
  margin: 3px 0 0;
  color: #9daabd;
  font-size: 12px;
}
.footer-inner nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: #bec8d6;
  font-size: 13px;
}
.footer-inner nav a:hover { color: #fff; }
.footer-inner small { color: #7f8da1; font-size: 11px; }

.search-match { animation: search-pulse 1.4s ease; }
@keyframes search-pulse {
  0%, 100% { box-shadow: none; }
  35% { box-shadow: 0 0 0 5px rgba(11, 99, 216, .18), var(--shadow); }
}

@media (max-width: 900px) {
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .section-heading > p { max-width: 560px; }
  .service-grid, .converter-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .footer-inner { flex-wrap: wrap; padding-block: 28px; gap: 18px 28px; }
  .footer-inner nav { order: 3; width: 100%; margin-left: 0; }
  .footer-inner small { margin-left: auto; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  .content-shell, .header-inner, .hero-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; gap: 14px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand small { display: none; }
  .main-nav { display: none; }
  .header-button {
    min-height: 38px;
    margin-left: auto;
    padding-inline: 14px;
    font-size: 12px;
  }
  .hero-inner { padding-top: 58px; padding-bottom: 44px; }
  .hero h1 { font-size: 49.92px; }
  .hero-copy { margin-bottom: 28px; font-size: 15px; }
  .hero-search { min-height: 54px; padding-left: 13px; gap: 9px; }
  .hero-search input { font-size: 13px; }
  .hero-search button { min-width: 60px; }
  .quick-search > span { width: 100%; }
  .services-section, .conversion-section { padding-block: 58px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > p { font-size: 13px; }
  .service-card { padding: 24px; }
  .conversion-tabs { gap: 3px; padding: 6px; }
  .conversion-tabs button { min-height: 44px; padding: 8px 5px; font-size: 12px; }
  .conversion-panel { padding: 16px; }
  .converter-card { padding: 19px; }
  .panel-intro { flex-direction: column; gap: 4px; }
  .condition-grid { grid-template-columns: 1fr; }
  .reference-note { padding: 0 16px 18px; line-height: 1.7; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { flex-wrap: wrap; gap: 10px 20px; }
  .footer-inner small { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
