:root {
  --navy-950: #050d19;
  --navy-900: #071426;
  --navy-800: #0b2039;
  --cream: #f7f2e8;
  --paper: #fffcf5;
  --gold: #caa86b;
  --gold-light: #e8d3a7;
  --ink: #162338;
  --muted: #657084;
  --kakao: #fee500;
  --shadow: 0 22px 56px rgba(7, 20, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans KR", sans-serif;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: #fff; color: #111; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 50%;
  width: min(100%, 1120px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 42px);
  color: #fff;
  transition: .3s ease;
}
.site-header.scrolled { width: min(calc(100% - 24px), 1080px); top: 10px; padding-block: 12px; background: rgba(7, 20, 38, .88); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Noto Serif KR", serif; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(232,211,167,.7); border-radius: 50%; color: var(--gold-light); font-size: 11px; }
.header-link { font-size: 13px; color: rgba(255,255,255,.76); }

.snap-section { position: relative; overflow: hidden; }
.hero {
  min-height: min(920px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  align-content: center;
  padding: 110px max(6vw, 32px) 70px;
  color: #fff;
  background: radial-gradient(circle at 72% 32%, #183451 0, #0a1c31 31%, var(--navy-950) 70%);
  isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent); }
.star-field { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 1.5px), radial-gradient(circle, rgba(202,168,107,.7) 0 1px, transparent 1.5px); background-position: 12% 20%, 85% 12%; background-size: 130px 130px, 190px 190px; opacity: .4; }
.hero-copy { position: relative; z-index: 3; width: min(590px, 100%); margin-left: max(0px, calc((100vw - 1180px) / 2)); }
.hero-actions { position: relative; z-index: 3; grid-column: 1; width: min(590px, 100%); margin-left: max(0px, calc((100vw - 1180px) / 2)); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #9d7c45; }
.hero h1, .section-heading h2, .final-cta h2 { margin: 0; font-family: "Noto Serif KR", serif; font-weight: 700; letter-spacing: -.045em; line-height: 1.32; }
.hero h1 { font-size: clamp(38px, 5vw, 68px); }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-description { margin: 28px 0 34px; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.8; }
.primary-button, .secondary-button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border-radius: 16px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button { color: #201d0b; background: var(--kakao); box-shadow: 0 14px 32px rgba(254,229,0,.16); }
.primary-button svg, .mobile-cta svg { width: 22px; fill: #201d0b; }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.primary-button:focus-visible, .secondary-button:focus-visible, summary:focus-visible, .mobile-cta a:focus-visible { outline: 3px solid #65a9ff; outline-offset: 4px; }
.portrait-wrap { position: absolute; z-index: 1; right: max(-50px, calc((100vw - 1320px) / 2)); bottom: 0; width: min(52vw, 700px); height: 91%; display: flex; align-items: flex-end; justify-content: center; }
.portrait-wrap > img { position: relative; z-index: 2; width: min(100%, 640px); max-height: 100%; object-fit: contain; object-position: center bottom; filter: saturate(.78) contrast(1.04); }
.portrait-eyebrow { position: absolute; z-index: 5; top: 18px; left: 50%; margin: 0; padding: 7px 14px; transform: translateX(-50%); white-space: nowrap; border: 1px solid rgba(232,211,167,.5); border-radius: 999px; color: #fff5de; background: rgba(5,13,25,.62); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-shadow: 0 1px 4px #000; }
.portrait-signature { position: absolute; z-index: 5; right: 13%; bottom: 16%; display: flex; align-items: center; gap: 9px; color: #fff; text-align: right; text-shadow: 0 2px 6px rgba(0,0,0,.85); }
.signature-wordmark { display: grid; gap: 8px; width: 104px; }
.signature-main, .signature-sub { display: flex; justify-content: space-between; align-items: center; width: 100%; white-space: nowrap; line-height: 1; }
.signature-main { font-size: 26px; }
.signature-sub { font-size: 13px; }
.signature-main b { font-weight: 800; }
.signature-sub b { font-weight: 500; }
.seal-window { display: block; width: 47px; height: 47px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.seal-window img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.moon { position: absolute; z-index: 1; top: 10%; width: min(38vw, 490px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #fff8df 0, #dfc589 55%, rgba(202,168,107,.12) 71%); box-shadow: 0 0 80px rgba(222,194,131,.22); }
.portrait-fade { position: absolute; z-index: 3; inset: auto 0 0; height: 26%; background: linear-gradient(transparent, var(--navy-950)); }
.portrait-note { margin: 14px 0 0; color: rgba(255,255,255,.65); font-size: 13px; }
.scroll-cue { position: absolute; z-index: 5; bottom: 24px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .1em; }
.scroll-cue i { width: 1px; height: 28px; background: linear-gradient(var(--gold-light), transparent); animation: pulse 1.8s infinite; }

.guide { min-height: 100svh; padding: 110px clamp(20px, 7vw, 88px); background: var(--cream); }
.guide::before { content: "侍按"; position: absolute; right: -30px; top: 10px; color: rgba(7,20,38,.035); font-family: "Noto Serif KR", serif; font-size: clamp(120px, 20vw, 280px); font-weight: 700; }
.section-heading { position: relative; z-index: 2; width: min(1120px, 100%); margin: 0 auto 46px; }
.section-heading h2 { color: var(--navy-900); font-size: clamp(34px, 5vw, 58px); }
.section-heading > p:last-child { max-width: 550px; margin: 18px 0 0; color: var(--muted); line-height: 1.75; }
.consultation-grid { position: relative; z-index: 2; width: min(1120px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 auto 28px; }
.consultation-grid article { position: relative; min-height: 210px; display: flex; flex-direction: column; padding: 26px; background: rgba(255,255,255,.78); border: 1px solid rgba(7,20,38,.08); border-radius: 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.consultation-grid article:hover { transform: translateY(-3px); border-color: rgba(202,168,107,.48); box-shadow: 0 16px 34px rgba(7,20,38,.08); }
.consultation-grid b { color: #a48652; font-size: 12px; }
.consultation-grid h3 { margin: 18px 0 8px; color: var(--navy-900); font-size: 20px; }
.consultation-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.consultation-grid article > strong { display: inline-flex; align-self: flex-start; align-items: flex-start; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 18px; font-size: 15px; }
.consultation-grid article > strong del { color: #9b9b9b; font-size: 13px; font-weight: 500; }
.consultation-grid article > strong small { color: #a48652; font-size: 12px; font-weight: 700; }
.consultation-grid article > strong span { color: #71501c; font-size: 17px; font-weight: 900; }
.product-cta { position: relative; z-index: 2; width: min(1120px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto 28px; padding: 22px 26px; color: #fff; background: linear-gradient(135deg, #102a47, #071426); border: 1px solid rgba(202,168,107,.24); border-radius: 22px; }
.product-cta p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.product-cta .primary-button { min-height: 50px; padding-inline: 20px; font-size: 14px; white-space: nowrap; }
.flow-card { position: relative; z-index: 2; width: min(1120px, 100%); display: grid; grid-template-columns: .72fr 1.5fr auto; gap: 38px; align-items: center; margin: auto; padding: 34px; color: #fff; background: var(--navy-900); border-radius: 26px; box-shadow: var(--shadow); }
.flow-card > h3 { margin: 0; color: var(--gold-light); font-family: "Noto Serif KR", serif; font-size: 22px; line-height: 1.5; }
.flow-card ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.flow-card li { display: flex; gap: 14px; align-items: flex-start; }
.flow-card li > span { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(232,211,167,.42); border-radius: 50%; color: var(--gold-light); font-size: 12px; }
.flow-card strong { display: block; font-size: 14px; }
.flow-card p { margin: 4px 0 0; color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.55; }
.secondary-button { white-space: nowrap; color: var(--navy-900); background: #fff; font-size: 14px; }

.faq { min-height: 100svh; padding: 110px clamp(20px, 7vw, 88px) 140px; color: #fff; background: var(--navy-950); }
.faq .section-heading { width: min(900px, 100%); }
.faq .section-heading h2 { color: #fff; }
.accordion { width: min(900px, 100%); margin: auto; border-top: 1px solid rgba(255,255,255,.12); }
.accordion details { border-bottom: 1px solid rgba(255,255,255,.12); }
.accordion summary { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 18px 44px 18px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i, .accordion summary i::after { position: absolute; right: 7px; width: 15px; height: 1px; background: var(--gold-light); transition: transform .25s ease; content: ""; }
.accordion summary i::after { right: 0; transform: rotate(90deg); }
.accordion details[open] summary i::after { transform: rotate(0); }
.accordion details p { margin: 0; padding: 0 44px 22px 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.75; }
.final-cta { width: min(900px, 100%); margin: 96px auto 0; text-align: center; }
.final-cta > p { color: var(--gold-light); font-size: 13px; letter-spacing: .05em; }
.final-cta h2 { margin: 18px 0 30px; font-size: clamp(30px, 4.5vw, 48px); }
.final-cta small { display: block; margin-top: 34px; color: rgba(255,255,255,.35); }
.mobile-cta { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0%,100% { opacity: .35; transform: scaleY(.75); } 50% { opacity: 1; transform: scaleY(1); } }

@media (max-width: 820px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .site-header { padding: 16px 18px; }
  .site-header.scrolled { width: calc(100% - 20px); }
  .header-link { display: none; }
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: center; padding: 60px 20px 40px; background: radial-gradient(circle at 50% 30%, #1d3b59 0, #0a1c31 32%, var(--navy-950) 73%); }
  .hero-copy, .hero-actions { width: min(100%, 460px); text-align: center; margin: 0 auto; }
  .eyebrow { justify-content: center; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(24px, 6.8vw, 35px); line-height: 1.34; }
  .portrait-wrap { position: relative; right: auto; bottom: auto; flex: none; width: min(100%, 360px); height: auto; aspect-ratio: 1 / 1.04; margin: 18px auto 0; overflow: hidden; border: 1px solid rgba(232,211,167,.27); border-radius: 20px; transform: none; opacity: 1; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
  .portrait-wrap > img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 33%; filter: none; }
  .moon { display: none; }
  .portrait-fade { height: 18%; background: linear-gradient(transparent, rgba(5,13,25,.5)); }
  .portrait-eyebrow { top: 12px; padding: 6px 12px; font-size: 12px; letter-spacing: .08em; }
  .portrait-signature { right: 12px; bottom: 12px; gap: 7px; }
  .signature-wordmark { width: 88px; gap: 8px; }
  .signature-main { font-size: 22px; }
  .signature-sub { font-size: 11px; }
  .seal-window { width: 41px; height: 41px; }
  .hero-description { margin: 18px 0 20px; color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.6; }
  .hero .primary-button { width: 100%; }
  .portrait-note { margin-top: 12px; font-size: 13px; }
  .scroll-cue { display: none; }
  .guide, .faq { padding: 82px 20px 86px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading > p:last-child { font-size: 14px; }
  .consultation-grid { grid-template-columns: 1fr; gap: 10px; }
  .consultation-grid article { min-height: 0; padding: 20px 22px; display: grid; grid-template-columns: 34px 1fr auto; gap: 0 10px; align-items: start; }
  .consultation-grid article > div { min-width: 0; }
  .consultation-grid h3 { margin: 0; font-size: 18px; }
  .consultation-grid p { margin-top: 6px; font-size: 13px; }
  .consultation-grid article > strong { grid-column: 2 / 4; margin-top: 12px; padding-top: 0; font-size: 14px; }
  .product-cta { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px; text-align: center; }
  .product-cta .primary-button { width: 100%; }
  .flow-card { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .flow-card > h3 { font-size: 21px; }
  .flow-card ol { gap: 19px; }
  .flow-card .secondary-button { width: 100%; }
  .faq { padding-bottom: 90px; }
  .accordion summary { min-height: 70px; font-size: 15px; line-height: 1.5; }
  .final-cta { margin-top: 72px; }
  .final-cta .primary-button { display: none; }
  .mobile-cta { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: none; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(5,13,25,.92); backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,.08); }
  .mobile-cta.visible { display: block; }
  .mobile-cta a { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #201d0b; background: var(--kakao); border-radius: 15px; font-size: 16px; font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Business details and dedicated policy pages */
.business-footer { width: min(900px, 100%); margin: 30px auto 0; padding: 26px 0 0; border-top: 1px solid rgba(202,168,107,.3); color: #b9c0cc; text-align: center; }
.business-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 22px; margin: 0; font-size: .8125rem; line-height: 1.85; }
.business-details > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 5px; }
.business-details dt { color: #c6cbd4; }
.business-details dd { margin: 0; overflow-wrap: anywhere; }
.business-footer a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
.policy-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 9px; margin: 16px 0 0; font-size: .875rem; line-height: 1.8; color: var(--gold-light); }
.policy-links a { padding-block: 10px; }
.policy-links a:first-child { font-weight: 700; }
.policy-links span { color: #9a835d; }
.business-footer a:focus-visible, .policy-page a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 2px; }
.policy-page { background: var(--navy-950); color: #d5dbe4; padding: 0; }
.policy-header { width: min(980px, 100%); margin: auto; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.policy-header .brand { color: #fff; }
.home-link { color: var(--gold-light); font-size: .875rem; padding: 10px 0; }
.policy-main { width: min(780px, 100%); margin: auto; padding: 44px 24px 32px; }
.policy-kicker { margin: 0 0 14px; color: var(--gold); font-size: .875rem; }
.policy-main h1 { margin: 0; color: #f7f2e8; font-family: "Noto Serif KR", serif; font-size: clamp(1.8rem, 6vw, 2.5rem); line-height: 1.5; letter-spacing: -.035em; }
.policy-date { color: #aeb7c5; font-size: .8125rem; margin: 14px 0 24px; }
.policy-main > .policy-links { justify-content: flex-start; border-block: 1px solid rgba(202,168,107,.26); padding: 5px 0; margin: 0 0 32px; }
.policy-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.policy-content { font-size: 1rem; line-height: 1.95; overflow-wrap: anywhere; }
.policy-intro { padding: 22px; background: var(--navy-900); border-left: 2px solid var(--gold); color: #e2e6ed; }
.policy-content section { margin-top: 34px; }
.policy-content h2 { color: var(--gold-light); font-size: 1.125rem; margin: 0 0 12px; line-height: 1.65; }
.policy-content p { margin: 0 0 16px; }
.policy-content ul, .policy-content ol { padding-left: 1.4em; }
.policy-content li { margin: 8px 0; }
.policy-content a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
.policy-home { display: inline-block; margin-top: 24px; padding: 14px 20px; border: 1px solid rgba(202,168,107,.45); color: var(--gold-light); border-radius: 10px; font-size: .875rem; }
.policy-page > .business-footer { width: min(900px, calc(100% - 48px)); margin-top: 24px; padding-bottom: 36px; }
@media (max-width: 820px) {
  .final-cta .primary-button { display: inline-flex; width: min(100%, 420px); }
  .business-details { flex-direction: column; gap: 5px; }
  .business-footer { margin-top: 28px; }
  .policy-header { padding: 18px 20px; }
  .policy-main { padding: 28px 20px; }
  .policy-page > .business-footer { width: calc(100% - 40px); }
}
