/* W40 main typography: eight steps, with responsive display sizes. Audit does not load this file. */
:root{--type-12:12px;--type-14:14px;--type-16:16px;--type-20:20px;--type-24:24px;--type-32:32px;--type-40:40px;--type-48:48px}
@media(max-width:800px){:root{--type-32:28px;--type-40:32px;--type-48:36px}}
/* =========================================================
   SOLUTION TAX - style.css
   Palette: Deep ink + Brand purple (#7030A0) + Champagne gold
   Type: Noto Serif KR (display) + Pretendard (text)
   Motif: 로고의 브래킷(┌ ┐) 프레임
   ========================================================= */

:root {
  --ink: #0E0B17;
  --ink-2: #161126;
  --ink-3: #1F1834;
  --brand: #7030A0;
  --brand-600: #5E2788;
  --brand-500: #7E3AB2;
  --brand-300: #A87CDD;
  --brand-100: #EEE6F7;
  --brand-50: #F6F1FB;
  --gold: #C9A86A;
  --gold-soft: #E6D3AA;
  --paper: #F7F6F3;
  --white: #FFFFFF;
  --text: #16121F;
  --text-2: #4A4457;
  --muted: #7B7588;
  --line: #E7E3EC;

  --serif: var(--sans);
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Segoe UI', sans-serif;

  --container: 1200px;
  --header-h: 76px;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(22, 14, 40, .05), 0 2px 6px rgba(22, 14, 40, .04);
  --shadow: 0 18px 40px -22px rgba(36, 18, 70, .28);
  --shadow-lg: 0 34px 70px -30px rgba(36, 18, 70, .38);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size:var(--type-16);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: rgba(112, 48, 160, .2); }
:focus-visible { outline: 2px solid var(--brand-300); outline-offset: 3px; border-radius: 6px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.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: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.br-pc { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px; border-radius: 10px;
  font-size:var(--type-16); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(112, 48, 160, .75), inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn--primary:hover { background: var(--brand-500); transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .09); }
.btn--line { color: var(--text); border-color: var(--line); background: #fff; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--line:hover .ic { transform: translate(2px, -2px); }
.btn--kakao { background: #FEE500; color: #191600; }
.btn--kakao:hover { background: #F5DC00; transform: translateY(-1px); }
.btn--kakao .ic, .btn--kakao:hover .ic { transform: none; width: 20px; height: 20px; }
.btn--lg { --bh: 56px; padding: 0 28px; font-size:var(--type-16); border-radius: 12px; }
.btn--sm { --bh: 40px; padding: 0 16px; font-size:var(--type-14); border-radius: 9px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-btn { color: var(--brand); font-weight: 600; font-size:var(--type-14); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.link-btn--light { color: rgba(255, 255, 255, .7); text-decoration: none; }
.link-btn--light:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 70; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(14, 11, 23, .92);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { height: 30px; width: auto; }
.gnb { display: flex; gap: 2px; margin-left: auto; }
.gnb a { position: relative; padding: 10px 13px; border-radius: 8px; font-size:var(--type-14); font-weight: 500; color: rgba(255, 255, 255, .74); transition: color .2s; }
.gnb a:hover, .gnb a.is-active { color: #fff; }
.gnb a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; background: var(--brand-300); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnb a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__tel { display: inline-flex; align-items: center; gap: 8px; font-size:var(--type-14); font-weight: 600; color: rgba(255, 255, 255, .88); font-variant-numeric: tabular-nums; }
.header__tel .ic { width: 16px; height: 16px; color: var(--gold); }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 12px) 28px calc(28px + env(safe-area-inset-bottom));
  background: rgba(14, 11, 23, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: fadeIn .25s ease;
  overflow-y: auto;
}
.mnav nav { display: grid; }
.mnav nav a { font-family: var(--serif); font-size:var(--type-24); font-weight: 600; color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mnav__actions { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- Bracket motif ---------- */
.bk { position: absolute; display: block; background: linear-gradient(90deg, var(--brand-300), #8E57C9); }
.bk--top { top: 0; left: 0; right: 0; height: 4px; transform-origin: left center; }
.bk--left { top: 0; left: 0; bottom: 0; width: 4px; transform-origin: center bottom; background: linear-gradient(0deg, #8E57C9, var(--brand-300)); }
.bk--right { top: 0; right: 0; height: 36%; width: 4px; transform-origin: center top; background: #8E57C9; }
.bk--foot { bottom: 0; left: 0; width: 28px; height: 4px; transform-origin: right center; background: #8E57C9; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px));
}
.hero__bg > * { position: absolute; inset: 0; pointer-events: none; }

.hero__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 62% 34%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 70% 62% at 62% 34%, #000 18%, transparent 74%);
}
.hero__noise {
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}


.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size:var(--type-12); font-weight: 600; letter-spacing: .2em; color: var(--gold-soft); }
.hero__eyebrow .sep { color: rgba(255, 255, 255, .35); }
.hero__eyebrow .ko { letter-spacing: .06em; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 168, 106, .16); }

.hero__frame { position: relative; display: block; width: fit-content; max-width: 100%; margin-top: 28px; padding: clamp(30px, 3.4vw, 46px) clamp(28px, 3.4vw, 52px) 6px clamp(36px, 4.2vw, 62px); }
.hero__title { font-family: var(--serif); font-weight: 600; font-size:var(--type-48); line-height: 1.16; letter-spacing: -0.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #EBDDFF 0%, #B88DEB 48%, #E6CF9C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 30px; max-width: 34em; font-size:var(--type-20); line-height: 1.8; color: rgba(255, 255, 255, .72); }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__checks { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size:var(--type-14); color: rgba(255, 255, 255, .62); }
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks .ic { width: 16px; height: 16px; color: var(--gold); stroke-width: 2.4; }

.hero__visual { position: relative; padding: 40px 0 44px 24px; }
.glass-card {
  position: relative; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.cal-card { padding: 26px 26px 18px; }
.cal-card__head { display: flex; justify-content: space-between; font-size:var(--type-12); font-weight: 600; letter-spacing: .18em; color: var(--gold-soft); }
.cal-card__head span:last-child { letter-spacing: .02em; color: rgba(255, 255, 255, .5); font-weight: 500; }
.cal-card__title { margin: 10px 0 12px; font-family: var(--serif); font-size:var(--type-20); font-weight: 600; letter-spacing: -0.02em; }
.cal-card__more { display: flex; align-items: center; justify-content: flex-start; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size:var(--type-14); color: rgba(255, 255, 255, .68); transition: color .2s; }
.cal-card__more:hover { color: #fff; }
.cal-card__more .ic { width: 16px; height: 16px; }

.cal-list { display: grid; }
.cal-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.cal-item:first-child { border-top: 0; }
.cal-item__date { text-align: center; padding: 8px 0 7px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); }
.cal-item__date b { display: block; font-family: var(--serif); font-size:var(--type-20); font-weight: 600; line-height: 1.1; }
.cal-item__date span { display: block; margin-top: 3px; font-size:var(--type-12); color: rgba(255, 255, 255, .55); }
.cal-item__title { font-size:var(--type-14); font-weight: 600; line-height: 1.4; }
.cal-item__title .tag-ext { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size:var(--type-12); font-weight: 600; color: var(--gold-soft); background: rgba(201, 168, 106, .14); vertical-align: 2px; }
.cal-item__desc { margin-top: 2px; font-size:var(--type-12); line-height: 1.45; color: rgba(255, 255, 255, .52); }
.dday { padding: 6px 10px; border-radius: 999px; font-size:var(--type-12); font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); white-space: nowrap; }
.dday.is-soon { color: #F3E1B8; background: rgba(201, 168, 106, .2); }
.dday.is-today { color: #1d160a; background: var(--gold); }










.hero__stats { position: relative; margin-top: clamp(56px, 9vh, 104px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .1); }
.hero__stats li { padding: 30px 24px 38px; border-left: 1px solid rgba(255, 255, 255, .08); }
.hero__stats li:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--serif); font-size:var(--type-48); font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__num small { margin-left: 4px; font-family: var(--sans); font-size:var(--type-16); font-weight: 600; color: var(--gold-soft); letter-spacing: 0; }
.stat__label { margin-top: 14px; font-size:var(--type-14); font-weight: 600; color: rgba(255, 255, 255, .9); }
.stat__sub { margin-top: 4px; font-size:var(--type-12); color: rgba(255, 255, 255, .48); }

/* Hero intro motion (JS 활성 시에만) */
.js .hero__title .line > span { transform: translateY(108%); }
.js .hero__eyebrow, .js .hero__lead, .js .hero__cta, .js .hero__checks, .js .hero__visual { opacity: 0; transform: translateY(18px); }
.js .hero .bk--top, .js .hero .bk--foot { transform: scaleX(0); }
.js .hero .bk--left, .js .hero .bk--right { transform: scaleY(0); }
.is-ready .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease) var(--d, 0s); }
.is-ready .hero__eyebrow, .is-ready .hero__lead, .is-ready .hero__cta, .is-ready .hero__checks, .is-ready .hero__visual { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-ready .hero__lead { transition-delay: .45s; }
.is-ready .hero__cta { transition-delay: .55s; }
.is-ready .hero__checks { transition-delay: .65s; }
.is-ready .hero__visual { transition-delay: .5s; }
.is-ready .hero .bk--foot { transform: none; transition: transform .35s ease-out .2s; }
.is-ready .hero .bk--left { transform: none; transition: transform .5s ease-in-out .5s; }
.is-ready .hero .bk--top { transform: none; transition: transform .7s ease-in-out .95s; }
.is-ready .hero .bk--right { transform: none; transition: transform .35s ease-out 1.6s; }

/* ---------- Ticker ---------- */








/* ---------- Section common ---------- */
.section { position: relative; padding: clamp(92px, 11vw, 144px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size:var(--type-12); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ''; width: 15px; height: 15px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: translateY(4px); }
.section--dark .eyebrow { color: var(--gold); }
.h2 { margin-top: 18px; font-family: var(--serif); font-size:var(--type-48); font-weight: 600; line-height: 1.3; letter-spacing: -0.03em; text-wrap: balance; }
.lead { margin-top: 22px; font-size:var(--type-16); line-height: 1.85; color: var(--text-2); }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head > p { justify-self: end; max-width: 30em; font-size:var(--type-16); line-height: 1.8; color: var(--text-2); }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head--dark .h2 { color: #fff; }
.sec-head--dark > p { color: rgba(255, 255, 255, .62); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__quote { position: relative; margin-top: 36px; padding: 24px 28px 24px 30px; background: #fff; border-radius: 0 16px 16px 0; border-left: 3px solid var(--brand); box-shadow: var(--shadow-sm); }
.about__quote p { font-family: var(--serif); font-size:var(--type-20); font-weight: 500; line-height: 1.65; color: var(--text); }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 36px; }
.diff-grid > :nth-child(2n) { margin-top: 36px; }
.diff { position: relative; padding: 30px 28px 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.diff:hover { border-color: rgba(112, 48, 160, .35); box-shadow: var(--shadow); transform: translateY(-4px); }
.diff__no { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size:var(--type-14); font-weight: 600; color: var(--brand); }
.diff__no span { font-family: var(--sans); font-size:var(--type-12); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.diff__no::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.diff h3 { margin: 22px 0 12px; font-size:var(--type-20); font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.diff p { font-size:var(--type-14); line-height: 1.75; color: var(--text-2); }

/* ---------- Services ---------- */
.services { background: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: background-color .5s var(--ease), color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.svc::before { content: ''; position: absolute; top: 16px; left: 16px; width: 22px; height: 22px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); opacity: 0; transform: translate(8px, 8px); transition: opacity .45s, transform .45s var(--ease); }
.svc::after { content: ''; position: absolute; right: -30%; top: -40%; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(126, 58, 178, .5), transparent); opacity: 0; transition: opacity .6s; pointer-events: none; }
.svc:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(20, 10, 40, .6); }
.svc:hover::before { opacity: 1; transform: none; }
.svc:hover::after { opacity: 1; }
.svc > * { position: relative; z-index: 1; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); color: var(--brand); transition: background-color .5s, color .5s; }
.svc__icon .ic { width: 26px; height: 26px; stroke-width: 1.6; }
.svc__no { font-family: var(--serif); font-size:var(--type-14); font-weight: 600; color: var(--muted); transition: color .5s; }
.svc h3 { margin: 26px 0 10px; font-size:var(--type-20); font-weight: 700; letter-spacing: -0.02em; }
.svc > p { font-size:var(--type-14); line-height: 1.7; color: var(--text-2); transition: color .5s; }
.svc__list { display: grid; gap: 9px; margin: 18px 0 26px; }
.svc__list li { display: flex; gap: 10px; font-size:var(--type-14); line-height: 1.55; color: var(--text-2); transition: color .5s; }
.svc__list li::before { content: ''; flex: none; width: 5px; height: 5px; margin-top: 8px; background: var(--brand); transform: rotate(45deg); transition: background-color .5s; }
.svc__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); transition: border-color .5s; }
.svc__tag { font-size:var(--type-14); font-weight: 700; color: var(--brand); transition: color .5s; }
.svc__link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease); }
.svc__link .ic { width: 18px; height: 18px; }
.svc:hover > p, .svc:hover .svc__list li { color: rgba(255, 255, 255, .7); }
.svc:hover .svc__icon { background: rgba(255, 255, 255, .08); color: var(--brand-300); }
.svc:hover .svc__no { color: var(--gold-soft); }
.svc:hover .svc__list li::before { background: var(--gold); }
.svc:hover .svc__foot { border-color: rgba(255, 255, 255, .12); }
.svc:hover .svc__tag { color: var(--gold-soft); }
.svc:hover .svc__link { background: var(--brand); border-color: var(--brand); color: #fff; }
.svc__link:hover { transform: rotate(45deg); }

/* ---------- Pricing (dark) ---------- */
.pricing { overflow: hidden; color: #fff; background: var(--ink); }
.pricing::before { content: ''; position: absolute; right: -15%; bottom: -30%; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(112, 48, 160, .36), transparent); pointer-events: none; }
.pricing::after { content: ''; position: absolute; left: -20%; top: -20%; width: 55%; height: 60%; background: radial-gradient(closest-side, rgba(201, 168, 106, .08), transparent); pointer-events: none; }
.pricing .container { position: relative; z-index: 1; }
.pricing__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 28px; align-items: start; }

.calc { padding: 32px; border-radius: 24px; background: linear-gradient(180deg, #1C1531 0%, #140F24 100%); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65); }
.calc__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.calc__head h3 { font-family: var(--serif); font-size:var(--type-24); font-weight: 600; letter-spacing: -0.02em; }
.calc__badge { padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(201, 168, 106, .45); font-size:var(--type-12); font-weight: 600; color: var(--gold-soft); }
.calc__field { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.calc__label { display: block; margin-bottom: 12px; font-size:var(--type-14); font-weight: 500; color: rgba(255, 255, 255, .66); }
.calc__label--tight { margin-bottom: 0; color: rgba(255, 255, 255, .88); font-weight: 600; }
.calc__field--row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.calc__field--row small { display: block; margin-top: 4px; font-size:var(--type-12); color: rgba(255, 255, 255, .45); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); }
.seg button { height: 44px; border-radius: 9px; font-size:var(--type-14); font-weight: 600; color: rgba(255, 255, 255, .62); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); }
.calc__label-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.calc__label-row .calc__label { margin: 0; }
.calc__rev { display: flex; align-items: baseline; gap: 6px; }
.calc__rev input { width: 100px; padding: 0 2px 2px; text-align: right; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); border-radius: 0; color: #fff; font-family: var(--serif); font-size:var(--type-32); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__rev input:focus { outline: none; border-bottom-color: var(--brand-300); }
.calc__rev span { font-size:var(--type-14); color: rgba(255, 255, 255, .6); }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

input[type="range"] {
  --p: 0%;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px; margin: 8px 0 0; border-radius: 999px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--brand-300) 0%, var(--brand-300) var(--p), rgba(255, 255, 255, .12) var(--p));
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--brand); box-shadow: 0 0 0 6px rgba(168, 124, 221, .2); transition: box-shadow .2s; }
input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 9px rgba(168, 124, 221, .25); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--brand); box-shadow: 0 0 0 6px rgba(168, 124, 221, .2); }
input[type="range"]:focus-visible { outline: 2px solid var(--brand-300); outline-offset: 6px; }
.range-ticks { position: relative; height: 18px; margin-top: 12px; font-size:var(--type-12); color: rgba(255, 255, 255, .42); font-variant-numeric: tabular-nums; }
.range-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.range-ticks span:first-child { transform: none; }
.range-ticks span:last-child { transform: translateX(-100%); }

.switch { position: relative; flex: none; width: 52px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: background-color .25s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.switch[aria-checked="true"] { background: var(--brand); }
.switch[aria-checked="true"] span { transform: translateX(22px); }

.calc__result { margin: 6px 0 22px; padding: 22px 22px 6px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; }
.calc__row > span { font-size:var(--type-14); color: rgba(255, 255, 255, .66); }
.calc__row em { margin-left: 4px; font-style: normal; font-size:var(--type-12); color: rgba(255, 255, 255, .4); }
.calc__row strong { font-size:var(--type-16); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.calc__row strong small { margin-left: 3px; font-size:var(--type-12); font-weight: 500; color: rgba(255, 255, 255, .55); }
.calc__row--main strong { font-family: var(--serif); font-size:var(--type-32); font-weight: 600; letter-spacing: -0.02em; }
.calc__row--main strong small { font-family: var(--sans); font-size:var(--type-14); color: var(--gold-soft); }
.calc__row--total { padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .14); }
.calc__row--total strong { color: var(--gold-soft); }
.calc__note { padding-bottom: 14px; font-size:var(--type-12); line-height: 1.65; color: rgba(255, 255, 255, .46); }
.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { opacity: .35; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }

.ptabs { padding: 10px 10px 18px; border-radius: 24px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .09); }
.ptabs__nav { display: flex; gap: 4px; padding: 6px; }
.ptabs__nav [role="tab"] { flex: 1; height: 44px; border-radius: 10px; font-size:var(--type-14); font-weight: 600; color: rgba(255, 255, 255, .58); transition: background-color .25s, color .25s; }
.ptabs__nav [role="tab"]:hover { color: #fff; }
.ptabs__nav [aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ptabs__panel { padding: 4px 6px 0; animation: fadeIn .35s ease; }
.ptable { width: 100%; font-size:var(--type-14); font-variant-numeric: tabular-nums; }
.ptable th { padding: 14px 16px 10px; text-align: left; font-size:var(--type-12); font-weight: 600; letter-spacing: .03em; color: rgba(255, 255, 255, .45); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ptable td { padding: 12.5px 16px; color: rgba(255, 255, 255, .84); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background-color .3s, color .3s; }
.ptable td:first-child { color: rgba(255, 255, 255, .6); white-space: nowrap; }
.ptable .num { text-align: right; }
.ptable td small { display: block; margin-top: 2px; font-size:var(--type-12); color: rgba(255, 255, 255, .42); }
.ptable tr.is-active td { color: #fff; background: rgba(112, 48, 160, .3); }
.ptable tr.is-active td:first-child { color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.ptable td.note { font-size:var(--type-12); color: rgba(255, 255, 255, .5); }
.ptabs__foot { padding: 16px 16px 0; font-size:var(--type-12); line-height: 1.7; color: rgba(255, 255, 255, .5); }
.ptabs__foot a { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; color: var(--gold-soft); font-weight: 600; }
.ptabs__foot a .ic { width: 14px; height: 14px; }

.pricing__notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 36px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pricing__notes li { display: flex; gap: 10px; font-size:var(--type-14); line-height: 1.7; color: rgba(255, 255, 255, .6); }
.pricing__notes .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--gold); stroke-width: 2.4; }

/* ---------- Incorporation ---------- */
.incorp { background: #fff; }
.incorp__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.hl { color: var(--brand); background: linear-gradient(transparent 74%, rgba(201, 168, 106, .38) 74%, rgba(201, 168, 106, .38) 92%, transparent 92%); padding: 0 .04em; }
.kv { margin-top: 34px; border-top: 1px solid var(--text); }
.kv > div { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size:var(--type-14); font-weight: 500; color: var(--muted); }
.kv dd { font-size:var(--type-16); font-weight: 600; }
.kv dd small { display: block; margin-top: 3px; font-size:var(--type-14); font-weight: 500; color: var(--muted); }
.note-box { display: flex; gap: 10px; margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: var(--paper); font-size:var(--type-14); line-height: 1.7; color: var(--text-2); }
.note-box .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.incorp__right { position: relative; padding: clamp(28px, 3.4vw, 44px); border-radius: 28px; background: var(--paper); }
.incorp__right::before { content: ''; position: absolute; top: -10px; left: -10px; width: 64px; height: 64px; border-top: 3px solid var(--brand); border-left: 3px solid var(--brand); border-radius: 4px 0 0 0; }
.incorp__caption { margin-bottom: 22px; font-size:var(--type-14); line-height: 1.7; color: var(--text-2); }
.incorp__caption strong { display: block; margin-bottom: 2px; font-family: var(--serif); font-size:var(--type-20); font-weight: 600; color: var(--text); }
.decide { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.decide li { padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.decide li:hover { border-color: rgba(112, 48, 160, .4); transform: translateY(-3px); box-shadow: var(--shadow); }
.decide__no { font-family: var(--serif); font-size:var(--type-12); font-weight: 700; color: var(--brand); }
.decide h3 { margin: 8px 0 6px; font-size:var(--type-16); font-weight: 700; letter-spacing: -0.02em; }
.decide p { font-size:var(--type-14); line-height: 1.65; color: var(--text-2); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.flow span { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size:var(--type-14); font-weight: 600; }
.flow span.is-last { background: var(--ink); border-color: var(--ink); color: #fff; }
.flow .ic { width: 16px; height: 16px; color: var(--muted); }

/* ---------- Process ---------- */
.process { overflow: hidden; background: var(--paper); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.steps::before { content: ''; position: absolute; top: 32px; left: 32px; right: 32px; height: 1px; background: linear-gradient(90deg, var(--brand), rgba(112, 48, 160, .12)); }
.step__no { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid rgba(112, 48, 160, .3); box-shadow: 0 0 0 8px var(--paper); font-family: var(--serif); font-size:var(--type-20); font-weight: 600; color: var(--brand); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.step:hover .step__no { background: var(--brand); color: #fff; transform: scale(1.06); }
.step h3 { margin: 26px 0 10px; font-size:var(--type-20); font-weight: 700; letter-spacing: -0.02em; }
.step p { font-size:var(--type-14); line-height: 1.7; color: var(--text-2); }
.process__note { display: flex; gap: 14px; align-items: flex-start; margin-top: 52px; padding: 22px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size:var(--type-14); line-height: 1.75; color: var(--text-2); }
.process__note .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--brand); }

/* ---------- Calendar ---------- */
.calendar { background: #fff; }
.calendar__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; }
.upcoming { position: relative; overflow: hidden; padding: 30px 28px 20px; border-radius: 24px; color: #fff; background: var(--ink); }
.upcoming::before { content: ''; position: absolute; right: -30%; top: -30%; width: 90%; height: 70%; background: radial-gradient(closest-side, rgba(126, 58, 178, .45), transparent); pointer-events: none; }
.upcoming > * { position: relative; }
.upcoming__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.upcoming__head h3 { font-family: var(--serif); font-size:var(--type-20); font-weight: 600; }
.upcoming__head span { font-size:var(--type-12); color: rgba(255, 255, 255, .5); }
.upcoming__foot { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size:var(--type-12); color: rgba(255, 255, 255, .5); }
.months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.month { min-height: 128px; padding: 16px 16px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.month:hover { border-color: rgba(112, 48, 160, .35); }
.month.is-current { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(112, 48, 160, .1); }
.month.is-past { background: #FCFBFD; }
.month.is-past .month__name, .month.is-past li { opacity: .55; }
.month__name { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size:var(--type-16); font-weight: 600; }
.month__name em { padding: 3px 8px; border-radius: 999px; background: var(--brand); color: #fff; font-family: var(--sans); font-size:var(--type-12); font-style: normal; font-weight: 700; }
.month ul { display: grid; gap: 7px; margin-top: 10px; }
.month li { display: grid; grid-template-columns: 30px 1fr; gap: 2px; font-size:var(--type-12); line-height: 1.45; color: var(--text-2); }
.month li b { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.month__empty { margin-top: 10px; font-size:var(--type-12); line-height: 1.5; color: var(--muted); }
.calendar__note { margin-top: 22px; font-size:var(--type-12); color: var(--muted); }
.calendar__right { display: grid; gap: 14px; }
.cal-tip { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 18px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.cal-tip__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.cal-tip__icon .ic { width: 22px; height: 22px; }
.cal-tip h3 { font-size:var(--type-16); font-weight: 700; letter-spacing: -0.02em; }
.cal-tip p { margin-top: 4px; font-size:var(--type-14); line-height: 1.65; color: var(--text-2); }
.cal-tip__actions { display: flex; flex-direction: column; gap: 8px; }
.cal-tip__actions .btn .ic { width: 16px; height: 16px; }
.cal-tip__actions .btn--line:hover .ic { transform: none; }

/* ---------- Guides ---------- */
.guides { background: var(--paper); }
.guides__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 34px; }
.search { position: relative; display: block; width: min(420px, 100%); }
.search .ic { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; color: var(--muted); transform: translateY(-50%); }
.search input { width: 100%; height: 56px; padding: 0 20px 0 50px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size:var(--type-16); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(112, 48, 160, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size:var(--type-14); font-weight: 600; color: var(--text-2); transition: border-color .2s, color .2s, background-color .2s; }
.chip b { margin-left: 5px; font-size:var(--type-12); font-weight: 600; opacity: .5; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 124px; padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); animation: fadeUp .45s var(--ease) both; }
.guide:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.guide__cat { font-size:var(--type-12); font-weight: 700; color: var(--brand); }
.guide__title { margin-top: 8px; font-size:var(--type-16); font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; }
.guide__title mark { padding: 0 2px; border-radius: 3px; background: rgba(201, 168, 106, .38); color: inherit; }
.guide__foot { display: flex; justify-content: space-between; align-items: center; font-size:var(--type-12); color: var(--muted); }
.guide__arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); transition: background-color .3s, color .3s; }
.guide__arrow .ic { width: 16px; height: 16px; }
.guide:hover .guide__arrow { background: var(--brand); color: #fff; }
.guides__empty { padding: 48px 0; text-align: center; color: var(--muted); }
.guides__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .btn { margin-top: 28px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--text); }
.qa summary { display: flex; align-items: center; gap: 16px; padding: 24px 4px; cursor: pointer; list-style: none; font-size:var(--type-16); font-weight: 600; letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa .q { font-family: var(--serif); font-weight: 600; color: var(--brand); }
.qa__q { flex: 1; }
.qa__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.qa__icon::before, .qa__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); transition: background-color .3s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa summary:hover .qa__q { color: var(--brand); }
.qa__body { padding: 0 60px 26px 36px; font-size:var(--type-16); line-height: 1.85; color: var(--text-2); animation: fadeIn .35s ease; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(88px, 10vw, 128px) 0; color: #fff; background: var(--ink); }
.cta-band__bg { position: absolute; inset: 0; background:
  radial-gradient(40% 70% at 15% 30%, rgba(112, 48, 160, .55), transparent 70%),
  radial-gradient(35% 60% at 90% 80%, rgba(126, 58, 178, .4), transparent 70%),
  radial-gradient(20% 40% at 60% 10%, rgba(201, 168, 106, .12), transparent 70%); }
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-band__frame { position: relative; padding: 40px 44px 10px 60px; }
.cta-band h2 { font-family: var(--serif); font-size:var(--type-48); font-weight: 600; line-height: 1.38; letter-spacing: -0.03em; }
.cta-band__inner > p { margin-top: 22px; font-size:var(--type-16); color: rgba(255, 255, 255, .66); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-list { margin-top: 34px; border-top: 1px solid var(--text); }
.info-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--brand); }
.info__icon .ic { width: 18px; height: 18px; }
.info__icon--kakao { background: #FEE500; border-color: #FEE500; color: #191600; }
.info__label { display: block; font-size:var(--type-12); font-weight: 600; color: var(--muted); }
.info__value { display: block; margin-top: 2px; font-size:var(--type-16); font-weight: 600; line-height: 1.5; }
.info__value small { margin-left: 6px; font-size:var(--type-12); font-weight: 500; color: var(--muted); }
a.info__value:hover { color: var(--brand); }
.map { margin-top: 28px; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #ECE9F1; }
.map iframe { display: block; width: 100%; height: 280px; border: 0; filter: grayscale(1) contrast(1.04) brightness(1.02); }
.map__links { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
.map__links a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 10px; border: 1px solid var(--line); font-size:var(--type-14); font-weight: 600; transition: border-color .2s, color .2s; }
.map__links a:hover { border-color: var(--brand); color: var(--brand); }
.map__links .ic { width: 15px; height: 15px; }

.form-card { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(28px, 3.6vw, 46px); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(30, 16, 60, .4); }
.form-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 56px; height: 56px; border-top: 3px solid var(--brand); border-left: 3px solid var(--brand); border-top-left-radius: 26px; }
.form-card .consultation-next { margin: 24px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); text-align: start; font-size: var(--type-14); line-height: 1.65; }
body.multipage.page-contact .form-card .consultation-next h3 { font-size: var(--type-16); margin: 0 0 6px; }
.consultation-next ol { list-style: decimal; padding-inline-start: 1.35em; margin: 0; }
.form-card .consultation-next p { margin: 6px 0 4px; font-size: var(--type-12); color: var(--text-2); }
.consultation-next a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form__head h3 { font-family: var(--serif); font-size:var(--type-24); font-weight: 600; letter-spacing: -0.02em; }
.form__head p { margin-top: 6px; font-size:var(--type-14); color: var(--muted); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size:var(--type-14); font-weight: 600; }
.req { margin-left: 3px; color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #FCFBFD;
  font-size:var(--type-14); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237B7588' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #A9A3B4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background-color: #fff; box-shadow: 0 0 0 4px rgba(112, 48, 160, .12); }
.field.is-invalid input { border-color: #D14343; box-shadow: 0 0 0 4px rgba(209, 67, 67, .1); }
.consent { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; font-size:var(--type-14); color: var(--text-2); }
.consent label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--brand); }
.consent.is-invalid label { color: #C53030; }
.form__submit { margin-top: 22px; }
.form__msg { min-height: 22px; margin-top: 12px; font-size:var(--type-14); text-align: center; color: var(--text-2); }
.form__msg.is-error { color: #C53030; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done { padding: 48px 8px 32px; text-align: center; animation: fadeUp .5s var(--ease); }
.form-done:has(.consultation-next) { padding-inline: 0; }

.form-done__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.form-done__icon .ic { width: 36px; height: 36px; stroke-width: 2.4; }
.form-done h3 { font-family: var(--serif); font-size:var(--type-24); font-weight: 600; }
.form-done p { margin: 12px 0 26px; font-size:var(--type-14); line-height: 1.75; color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 104px; background: #0A0812; color: rgba(255, 255, 255, .6); font-size:var(--type-14); }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand img { width: auto; height: 30px; }
.footer__brand p { margin-top: 20px; font-family: var(--serif); font-size:var(--type-16); line-height: 1.75; color: rgba(255, 255, 255, .75); }
.footer h4 { margin-bottom: 16px; font-size:var(--type-14); font-weight: 700; color: #fff; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .muted { color: rgba(255, 255, 255, .4); }
.footer__biz { display: flex; flex-wrap: wrap; gap: 6px 0; padding-top: 30px; font-size:var(--type-12); line-height: 1.7; color: rgba(255, 255, 255, .45); }
.footer__biz span:not(:last-child)::after { content: ''; display: inline-block; width: 1px; height: 11px; margin: 0 12px; background: rgba(255, 255, 255, .18); vertical-align: -1px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size:var(--type-12); color: rgba(255, 255, 255, .4); }
.footer__bottom p { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ---------- Floating ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__kakao { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: #FEE500; color: #191600; font-size:var(--type-14); font-weight: 700; box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .4); transition: transform .25s var(--ease), box-shadow .25s; }
.fab__kakao:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(0, 0, 0, .45); }
.fab__kakao .ic { width: 24px; height: 24px; }
.fab__top { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.fab__top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.mbar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 8, 18, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.modal__panel { position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto; padding: 38px 32px 28px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); animation: pop .35s var(--ease); }
.modal__panel:focus { outline: none; }
.modal__panel h3 { font-family: var(--serif); font-size:var(--type-20); font-weight: 600; }
.modal__desc { margin-top: 8px; font-size:var(--type-14); color: var(--text-2); }
.modal table, .privacy-policy table { width: 100%; margin-top: 18px; font-size:var(--type-14); }
.modal th, .privacy-policy th { width: 96px; padding: 12px 14px; text-align: left; font-weight: 600; background: var(--paper); border: 1px solid var(--line); vertical-align: top; }
.modal td, .privacy-policy td { padding: 12px 14px; line-height: 1.6; color: var(--text-2); border: 1px solid var(--line); }
.modal .privacy-transfer, .privacy-policy .privacy-transfer { display: grid; gap: 14px; overflow-wrap: anywhere; }
.modal .privacy-transfer dd > p + p, .privacy-policy .privacy-transfer dd > p + p { margin-top: 8px; }
.privacy-policy { max-width: 880px; font-size:var(--type-14); line-height: 1.9; overflow-wrap: anywhere; }
.privacy-policy h2 { margin: 32px 0 12px; font-size:var(--type-20); line-height: 1.5; }
.privacy-policy > p + p, .privacy-policy li + li { margin-top: 12px; }
.privacy-policy ul { padding-left: 20px; list-style: disc; }
@media(max-width:640px){.privacy-policy table,.privacy-policy tbody,.privacy-policy tr,.privacy-policy th,.privacy-policy td{display:block;width:100%}.privacy-policy th{border-bottom:0}.privacy-policy td{margin-bottom:12px}}
.modal__foot { margin: 16px 0 20px; font-size:var(--type-12); line-height: 1.6; color: var(--muted); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; transition: background-color .2s; }
.modal__close:hover { background: var(--paper); }
.modal__close span { position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: var(--text); }
.modal__close span:first-child { transform: rotate(45deg); }
.modal__close span:last-child { transform: rotate(-45deg); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .gnb a { padding: 10px 10px; font-size:var(--type-14); }
  .gnb a::after { left: 10px; right: 10px; }
  .header__tel { display: none; }
}
@media (max-width: 980px) {
  .gnb, .header__actions .btn { display: none; }
  .nav-toggle { display: inline-block; }
  .header__actions { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 540px; padding-left: 0; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .sec-head, .guides__head { grid-template-columns: 1fr; gap: 20px; }
  .sec-head > p { justify-self: start; }
  .about__grid, .pricing__grid, .incorp__grid, .calendar__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .form-card { position: relative; top: auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 32px; bottom: 32px; left: 32px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--brand), rgba(112, 48, 160, .12)); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding-bottom: 30px; }
  .step:last-child { padding-bottom: 0; }
  .step h3 { margin-top: 8px; }
  .months { grid-template-columns: repeat(3, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); font-size:var(--type-16); }
  .container { width: min(100% - 40px, var(--container)); }
  .brand img { height: 26px; }
  .br-pc { display: none; }
  .hero__frame { padding: 26px 8px 4px 30px; }
  .bk--top { height: 3px; } .bk--left { width: 3px; } .bk--right { width: 3px; } .bk--foot { height: 3px; width: 18px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__visual { padding: 44px 0 52px; }
  
  
  .cal-card { padding: 22px 18px 14px; }
  .hero__stats li { padding: 24px 12px 28px 16px; }
  .hero__stats li:nth-child(odd) { padding-left: 0; }
  .stat__sub { display: none; }
  .svc-grid, .diff-grid, .decide, .guide-grid { grid-template-columns: 1fr; }
  .diff-grid { padding-bottom: 0; }
  .diff-grid > :nth-child(2n) { margin-top: 0; }
  .calc { padding: 24px 20px; }
  .calc__row--main strong { font-size:var(--type-32); }
  .ptabs { padding: 6px 4px 14px; }
  .ptabs__nav [role="tab"] { font-size:var(--type-14); }
  .ptable th, .ptable td { padding: 11px 10px; font-size:var(--type-14); }
  .pricing__notes { grid-template-columns: 1fr; }
  .kv > div { grid-template-columns: 104px 1fr; }
  .months { grid-template-columns: repeat(2, 1fr); }
  .qa summary { font-size:var(--type-16); padding: 20px 2px; }
  .qa__body { padding: 0 8px 22px 30px; }
  .cta-band__frame { padding: 32px 10px 8px 34px; }
  .cta-band__actions .btn { width: 100%; }
  .form__grid { grid-template-columns: 1fr; }
  .consent { flex-wrap: wrap; }
  .range-ticks span:nth-child(4) { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .guide-grid { gap: 10px; }
  .guide { flex-direction: row; align-items: center; min-height: 0; gap: 14px; padding: 16px 16px 16px 18px; border-radius: 14px; }
  .guide__title { margin-top: 4px; font-size:var(--type-16); }
  .guide__foot > span:first-child { display: none; }
  .cal-tip { grid-template-columns: 1fr; gap: 14px; }
  .cal-tip__actions { flex-direction: row; }
  .cal-tip__actions .btn { flex: 1; }
  .footer { padding-bottom: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__biz { flex-direction: column; }
  .footer__biz span::after { display: none !important; }
  .fab { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .fab__kakao { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .fab__kakao span { display: none; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr 1.2fr;
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(14, 11, 23, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-size:var(--type-14); font-weight: 600; color: rgba(255, 255, 255, .85); }
  .mbar a .ic { width: 18px; height: 18px; }
  .mbar a.is-primary { background: var(--brand); color: #fff; }
  /* Keep alternate contact methods on the form page; success pages retain their CTA. */
  body.page-contact:has(#inquiry-form) .mbar { grid-template-columns: 1fr 1fr; }
  body.page-contact:has(#inquiry-form) .mbar a.is-primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero__eyebrow, .js .hero__lead, .js .hero__cta, .js .hero__checks, .js .hero__visual { opacity: 1; transform: none; }
  .js .hero__title .line > span, .js .hero .bk { transform: none !important; }
}

@media print {
  .site-header, .fab, .mbar, .map iframe { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* W17 factual supporting copy only; existing calculators and grids retain their rules. */
.seo-copy-group{padding-top:40px;padding-bottom:56px}
.seo-copy{max-width:76ch;margin:0 0 32px;overflow-wrap:anywhere}
.seo-copy h2{margin-bottom:16px}
.seo-copy p{margin:12px 0;line-height:1.8}
.seo-copy ul,.seo-copy ol{padding-left:24px;line-height:1.8}
.seo-copy a{text-decoration:underline;text-underline-offset:3px}
.seo-copy ol{list-style:decimal}
.seo-copy ul{list-style:disc}

/* W17b: reuse the existing two-column diff cards for supporting pricing copy. */
.pricing-explanation.diff-grid>.seo-copy{max-width:none;margin:0}
.pricing-explanation .seo-copy h2{margin-top:0;font-size:var(--type-24);line-height:1.4}
.pricing-explanation .seo-copy.diff{display:block}
