:root {
  color: #101a2b;
  background: #f6f4ee;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-synthesis: none;
  --canvas: #f6f4ee;
  --surface: #fffdf9;
  --ink: #101a2b;
  --copy: #4f5968;
  --muted: #77808c;
  --line: rgba(16, 26, 43, 0.14);
  --blue: #2e62d0;
  --content: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--canvas); color: var(--ink); text-rendering: optimizeLegibility; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.search-page { min-height: 100vh; }

.search-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 238, 0.94);
  backdrop-filter: blur(18px);
}
.search-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 0.96rem; font-weight: 780; letter-spacing: -0.035em; }
.search-brand img { width: 28px; height: 28px; }
.search-nav nav { display: flex; align-items: center; gap: 24px; color: var(--copy); font-size: 0.875rem; font-weight: 650; }
.search-nav a { text-decoration: none; }
.search-nav nav > a:not(.search-primary):hover { color: var(--ink); }
.search-nav .search-primary { min-height: 40px; padding: 10px 16px; border-radius: 7px; background: var(--ink); color: var(--surface); }

.search-hero { width: var(--content); margin: 0 auto; padding: clamp(88px, 10vw, 132px) 0 86px; }
.search-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: clamp(54px, 8vw, 104px); align-items: center; }
.search-kicker { margin: 0; color: var(--blue); font-size: .72rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.search-hero h1 { max-width: 14ch; margin: 20px 0 24px; font-size: clamp(3.2rem, 5.2vw, 5.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.045em; word-break: keep-all; }
.search-lede { max-width: 38rem; margin: 0; color: var(--copy); font-size: clamp(1.02rem, 1.4vw, 1.14rem); line-height: 1.78; word-break: keep-all; }
.search-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.search-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); text-decoration: none; font-size: .9rem; font-weight: 700; }
.search-actions a:first-child { border-color: var(--blue); background: var(--blue); color: white; }
.search-visual { position: relative; overflow: hidden; min-height: 480px; margin: 0; background: #e9e6de; }
.search-visual img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; transition: transform 700ms cubic-bezier(.22,1,.36,1); }
.search-visual:hover img { transform: scale(1.018); }
.search-visual figcaption { position: absolute; right: 16px; bottom: 16px; left: 16px; padding: 13px 15px; background: rgba(255,253,249,.92); color: var(--copy); font-size: .78rem; line-height: 1.55; backdrop-filter: blur(12px); }

.search-facts { display: grid; grid-template-columns: repeat(4, 1fr); width: var(--content); margin: 0 auto 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-facts div { min-height: 104px; padding: 22px 22px 22px 0; }
.search-facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.search-facts dt { color: var(--muted); font-size: .72rem; font-weight: 650; }
.search-facts dd { margin: 12px 0 0; font-size: 1rem; font-weight: 700; line-height: 1.45; word-break: keep-all; }

.search-section { width: var(--content); margin: 0 auto; padding: clamp(82px, 9vw, 118px) 0; border-top: 1px solid var(--line); }
.search-section > header { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(360px, 1.22fr); gap: clamp(40px, 8vw, 108px); margin-bottom: 46px; }
.search-section h2 { max-width: 17ch; margin: 0; font-size: clamp(2.15rem, 3.55vw, 3.55rem); font-weight: 690; line-height: 1.18; letter-spacing: -.04em; word-break: keep-all; }
.search-section > header p { max-width: 42rem; margin: 4px 0 0; color: var(--copy); font-size: 1rem; line-height: 1.8; word-break: keep-all; }

.search-grid { border-top: 1px solid var(--ink); }
.search-grid article { display: grid; grid-template-columns: 150px minmax(180px, .72fr) minmax(280px, 1.28fr); gap: 28px; align-items: start; min-height: 142px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.search-grid span { color: var(--blue); font-size: .72rem; font-weight: 720; letter-spacing: .04em; }
.search-grid h3 { margin: 0; font-size: 1.28rem; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; word-break: keep-all; }
.search-grid p { max-width: 40rem; margin: 0; color: var(--copy); line-height: 1.75; word-break: keep-all; }
.search-grid p + p { margin-top: 12px; }
.search-grid p a { color: var(--ink); font-weight: 680; text-underline-offset: 4px; }

.search-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: process; }
.search-process article { counter-increment: process; padding: 25px 0 0; border-top: 1px solid var(--ink); }
.search-process article::before { content: "0" counter(process); color: var(--blue); font-size: .74rem; font-weight: 720; }
.search-process h3 { margin: 28px 0 12px; font-size: 1.18rem; font-weight: 700; letter-spacing: -.025em; }
.search-process p { margin: 0; color: var(--copy); line-height: 1.75; word-break: keep-all; }

.search-price { display: grid; grid-template-columns: .78fr 1.22fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.search-price > div { padding: clamp(30px, 4vw, 50px) 0; }
.search-price > div + div { padding-left: clamp(30px, 5vw, 70px); border-left: 1px solid var(--line); }
.search-price strong { display: block; margin-top: 18px; font-size: clamp(2.25rem, 3.7vw, 3.5rem); font-weight: 720; letter-spacing: -.04em; }
.search-price p, .search-price li { color: var(--copy); line-height: 1.75; word-break: keep-all; }
.search-price ul { margin-top: 0; padding-left: 1.25rem; }
.search-note { margin-top: 22px; padding: 17px 19px; border-left: 2px solid var(--blue); background: #edf2fc; color: #3f4d63; line-height: 1.72; }

.search-faq { border-top: 1px solid var(--ink); }
.search-faq details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.search-faq summary { cursor: pointer; font-size: 1.05rem; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.search-faq p { max-width: 47rem; margin: 16px 0 2px; color: var(--copy); line-height: 1.8; word-break: keep-all; }
.search-related { display: flex; flex-wrap: wrap; gap: 10px; }
.search-related a { min-height: 44px; padding: 11px 15px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .88rem; font-weight: 680; }

.search-footer { padding: 56px max(24px, calc((100vw - 1180px) / 2)) 42px; background: var(--ink); color: #b9c1cc; }
.search-footer strong { color: white; font-size: .96rem; }
.search-footer p { max-width: 36rem; font-size: .9rem; line-height: 1.7; }
.search-operator { display: grid; gap: 4px; max-width: 58rem; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #9fa9b6; font-size: .78rem; line-height: 1.65; }
.search-operator span { min-width: 0; overflow-wrap: anywhere; }
.search-operator strong { color: #dfe4ea; font-size: inherit; }
.search-operator a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.search-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: .82rem; }

/* Store DID: a quieter service narrative instead of a repeated SEO template. */
.did-page .search-hero { padding-bottom: 72px; }
.did-page .search-hero-grid { align-items: end; }
.did-page .search-hero h1 { max-width: 11ch; }
.did-page .search-visual { min-height: 520px; }
.did-page .search-visual img { min-height: 520px; }
.did-page .did-definition { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 8vw, 105px); width: var(--content); margin: 0 auto; padding: clamp(82px, 9vw, 118px) 0; border-top: 1px solid var(--line); }
.did-page .did-definition h2 { max-width: 14ch; margin: 0; font-size: clamp(2.15rem, 3.55vw, 3.55rem); line-height: 1.18; letter-spacing: -.04em; word-break: keep-all; }
.did-page .did-definition > div { max-width: 43rem; }
.did-page .did-definition > div > p { margin: 0 0 28px; color: var(--copy); line-height: 1.8; word-break: keep-all; }
.did-page .did-use-list { border-top: 1px solid var(--ink); }
.did-page .did-use-list article { display: grid; grid-template-columns: 70px .72fr 1.28fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.did-page .did-use-list span { color: var(--blue); font-size: .74rem; font-weight: 720; }
.did-page .did-use-list h3 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; word-break: keep-all; }
.did-page .did-use-list p { margin: 0; color: var(--copy); line-height: 1.72; word-break: keep-all; }
.did-page .did-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 44px; background: var(--line); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.did-page .did-fit section { padding: clamp(28px, 4vw, 44px); background: var(--surface); }
.did-page .did-fit h3 { margin: 0 0 22px; font-size: 1.2rem; }
.did-page .did-fit ul { margin: 0; padding-left: 1.2rem; color: var(--copy); line-height: 1.85; }

@media (max-width: 860px) {
  .search-nav nav a:not(.search-primary) { display: none; }
  .search-hero-grid, .search-section > header, .search-price, .did-page .did-definition { grid-template-columns: 1fr; }
  .search-hero-grid { gap: 48px; }
  .search-facts { grid-template-columns: 1fr 1fr; }
  .search-facts div:nth-child(3) { border-left: 0; }
  .search-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .search-grid article { grid-template-columns: 100px .8fr 1.2fr; }
  .search-price > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 560px) {
  :root { --content: calc(100% - 32px); }
  .search-nav { min-width: 0; min-height: 62px; padding-inline: 16px; }
  .search-brand { flex: 0 0 auto; }
  .search-nav nav { min-width: 0; gap: 8px; }
  .search-nav .search-primary { max-width: 172px; overflow: hidden; padding: 9px 13px; text-overflow: ellipsis; white-space: nowrap; }
  .search-hero { padding: 64px 0 58px; }
  .search-hero h1 { max-width: none; font-size: clamp(2.4rem, 10.5vw, 3rem); line-height: 1.18; letter-spacing: -.038em; }
  .search-actions { display: grid; grid-template-columns: 1fr; }
  .search-actions a { min-width: 0; }
  .search-visual, .search-visual img, .did-page .search-visual, .did-page .search-visual img { min-height: 330px; }
  .search-facts { grid-template-columns: 1fr; margin-bottom: 48px; }
  .search-facts div, .search-facts div + div { min-height: auto; padding: 18px 0; border-left: 0; }
  .search-facts div + div { border-top: 1px solid var(--line); }
  .search-section { padding-block: 68px; }
  .search-section > header { gap: 22px; margin-bottom: 36px; }
  .search-section h2, .did-page .did-definition h2 { font-size: 2.05rem; line-height: 1.25; }
  .search-grid article, .did-page .did-use-list article { grid-template-columns: 1fr; gap: 10px; min-height: auto; padding: 24px 0; }
  .search-grid h3 { margin-top: 3px; }
  .search-process { grid-template-columns: 1fr; gap: 36px; }
  .did-page .did-definition { padding-block: 68px; }
  .did-page .did-fit { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .search-visual img { transition: none; }
}
