@font-face { font-family: "Black Han Sans"; src: url("/a/display.3d06a43f47.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/a/mono.b5978bf123.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

/* 색은 회사 로고에서: 남색 #0A1F44, 하늘색 #38BDF8. 글 색 5가지는 영상과 같다 */
:root {
  --sky: #38BDF8; --lime: #C8FF3E; --sun: #FFD84D; --pink: #FF8FC7; --mint: #8CFFC1;
  --navy: #0A1F44; --deep: #061530; --panel: #0F2850; --line: #23406F; --paper: #F4F8FF; --dim: #A9BAD6; --bad: #FF6B70;
  --display: "Black Han Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --body: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: "JetBrains Mono", "Noto Sans KR", monospace;
  --page: min(46rem, 100vw - 2.5rem);
  --joint: .4rem;
  --key: polygon(0 0, 100% 0, 77% 100%, 23% 100%);
}
.lime { --c: var(--lime); } .sky { --c: var(--sky); } .sun { --c: var(--sun); } .pink { --c: var(--pink); } .mint { --c: var(--mint); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--deep); color: var(--paper); font: 400 1.0625rem/1.8 var(--body); word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.band:focus-visible, .more :focus-visible { outline-color: var(--navy); }
.skip { position: absolute; left: -99rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); color: var(--navy); padding: .5rem 1rem; z-index: 2; }

.top { width: var(--page); margin: 0 auto; padding: 1.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top .logo { display: block; line-height: 0; }
.top img { width: clamp(10.5rem, 46vw, 14.5rem); height: auto; }
.top .insta { font-weight: 700; font-size: .98rem; text-underline-offset: .25em; white-space: nowrap; padding: .4rem 0; }

/* 첫 화면: 쐐기돌이 내려와 아치가 완성되고, 글이 그 아치를 받친다 */
.home { width: var(--page); margin: 0 auto; padding-top: clamp(1.6rem, 6vw, 3.4rem); display: grid; gap: 1.6rem; }
.home h1 { font: 400 clamp(2.5rem, 10.5vw, 4.4rem)/1.1 var(--display); letter-spacing: -.02em; margin: 0 0 .9rem; }
.home p { color: var(--dim); margin: 0; }
.arch { display: block; width: min(100%, 17rem); height: auto; justify-self: end; overflow: visible; }
.key { animation: drop .75s cubic-bezier(.3, 1.35, .5, 1) .25s both; }
@keyframes drop { from { transform: translateY(-110px); opacity: 0; } 35% { opacity: 1; } }
@media (min-width: 52rem) {
  .home { grid-template-columns: 1fr 15.5rem; align-items: end; }
  .home h1 { font-size: 3.6rem; }
  .home .words { padding-bottom: 2.4rem; }
  .arch { width: 100%; }
}
.bands { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--joint); }
.band { display: block; background: var(--c); color: var(--navy); text-decoration: none; padding: 1.9rem 0 2.1rem; }
.band > * { width: var(--page); margin-inline: auto; display: block; }
.band strong { font: 400 clamp(1.95rem, 8.2vw, 3.4rem)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.band span { font-weight: 600; line-height: 1.6; margin-top: .6rem; }
a.band strong { text-decoration: underline transparent .08em; text-underline-offset: .14em; transition: text-decoration-color .15s; }
a.band:hover strong, a.band:focus-visible strong { text-decoration-color: var(--navy); }
.home-foot { width: var(--page); margin: 0 auto; padding: 2.4rem 0 3rem; color: var(--dim); font-size: .95rem; }
.home-foot p { margin: 0 0 .4rem; }
.home-foot a { color: var(--paper); text-underline-offset: .2em; }

/* 글 제목판: 아래로 쐐기돌이 내려온다 */
.slab { --h: 3.9rem; background: var(--c); color: var(--navy); padding: 2.6rem 0 calc(var(--h) + 2.2rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--h)), calc(50% + 2.31rem) calc(100% - var(--h)), calc(50% + 1.26rem) 100%, calc(50% - 1.26rem) 100%, calc(50% - 2.31rem) calc(100% - var(--h)), 0 calc(100% - var(--h))); }
.slab > * { width: var(--page); margin-inline: auto; }
.slab h1 { font: 400 clamp(2.9rem, 13.2vw, 5.8rem)/1.06 var(--display); letter-spacing: -.025em; margin-block: 0 1.3rem; text-wrap: balance; }
.slab p { font-size: 1.125rem; line-height: 1.65; font-weight: 600; margin-block: 0; }
.slab .when { font-size: 1rem; font-weight: 500; margin-top: .9rem; }

main.guide { width: var(--page); margin: 0 auto; padding: 1rem 0 4rem; }
.guide h2 { font: 400 clamp(1.8rem, 6.6vw, 2.4rem)/1.2 var(--display); margin: 4rem 0 1.1rem; color: var(--c); }
.guide h2:first-child { margin-top: 1rem; }
.guide p { margin: 0 0 1.1rem; }
.guide b { font-weight: 700; }
kbd, code { font: 500 .92em var(--mono); background: var(--panel); border: 1px solid var(--line); border-radius: .25rem; padding: .12em .45em; white-space: nowrap; }

.steps { list-style: none; counter-reset: s; margin: 1.6rem 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 2rem 4.6rem; min-height: 4.6rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 3.4rem; height: 2.9rem; clip-path: var(--key); background: var(--c); color: var(--navy); font: 400 1.6rem/2.8rem var(--display); text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.6rem; top: 3.3rem; bottom: .4rem; width: .2rem; background: var(--line); }
.steps strong { display: block; font: 400 1.4rem/1.3 var(--display); padding-top: .5rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: #D5DFEF; }

.say { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: var(--joint); justify-items: start; }
.say li { background: var(--c); color: var(--navy); font-weight: 700; line-height: 1.5; padding: .75rem 1.1rem; border-radius: 0 .5rem .5rem .5rem; }

.compare { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.2rem 0; line-height: 1.55; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .9rem .9rem .9rem 0; border-bottom: 1px solid var(--line); }
.compare thead th { font: 400 1.15rem/1.3 var(--display); }
.compare thead th:nth-child(2) { color: var(--c); }
.compare tbody th { color: var(--dim); font-weight: 600; }
.compare thead td { width: 21%; }
.compare kbd { white-space: normal; overflow-wrap: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.notes { list-style: none; margin: 1.2rem 0; padding: 0; }
.notes li { position: relative; padding: .85rem 0 .85rem 2.9rem; border-bottom: 1px solid var(--line); }
.notes svg { position: absolute; left: 0; top: 1.05rem; width: 1.8rem; height: 1.8rem; }
.notes b { display: block; }
.notes .ok { color: var(--c); }
.notes .no { color: var(--bad); }

pre { margin: .9rem 0 0; padding: 1rem 1.1rem; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; font: 500 .95rem/1.65 var(--mono); }
pre code { background: none; border: 0; padding: 0; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; font: inherit; }
.code { margin: 1.4rem 0; }
.code figcaption { background: var(--c); color: var(--navy); font: 400 1.05rem/1 var(--display); padding: .7rem 1.1rem; }
.code pre { margin: 0; }

.source { margin-top: 4rem; color: var(--dim); font-size: .98rem; line-height: 1.7; }
.source a { color: var(--paper); text-underline-offset: .2em; }

/* 마무리: 쐐기돌이 들어갈 자리가 비어 있다 */
.more { --h: 3.9rem; background: var(--c); color: var(--navy); padding: calc(var(--h) + 1.6rem) 0 2.6rem;
  clip-path: polygon(0 0, calc(50% - 2.31rem) 0, calc(50% - 1.26rem) var(--h), calc(50% + 1.26rem) var(--h), calc(50% + 2.31rem) 0, 100% 0, 100% 100%, 0 100%); }
.more > * { width: var(--page); margin-inline: auto; display: block; }
.more h2 { font: 400 clamp(1.9rem, 7.4vw, 3rem)/1.15 var(--display); margin-block: 0 .6rem; text-wrap: balance; }
.more p { margin-block: 0 1.6rem; font-weight: 600; }
.actions { display: flex !important; flex-wrap: wrap; gap: var(--joint); }
.btn { background: var(--navy); color: var(--paper); text-decoration: none; font: 400 1.2rem/1 var(--display); padding: 1.2rem 1.5rem; }
.btn.ghost { background: none; color: var(--navy); box-shadow: inset 0 0 0 .18rem var(--navy); }
.btn:hover { text-decoration: underline .1em; text-underline-offset: .2em; }

@media (max-width: 30rem) {
  .arch { width: 12.5rem; }
  .btn { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.band strong { transition: none; } .key { animation: none; } }
