/* 웹기술서의 모양(검정·흰색·종이색 + 레몬 형광펜, 굵은 제목, 영문 라벨 쌍, 손글씨, 체크 카드)을 그대로 두고 스킬은 구조에만 적용한다.
   화면 계획 (1440x900, 한 화면에 한 섹션): 1 top 히어로 · 2 sympathy 공감 + 검정 띠 · 3 team PD x 개발자 · 4 process 진행 프로세스
   · 5 difference 차별점 · 6 examples 만들 수 있는 것 · 7 faq 자주 묻는 질문 · 8 apply 마지막 CTA + 푸터. 좌우 선 80/1360.
   섹션마다 같은 머리줄: 왼쪽 영문 라벨, 가운데 제목, 오른쪽 영문 라벨 */
:root{
  --ink:#0A0A0A; --white:#FFFFFF; --paper:#F1F1EF;
  --lemon:#EEFF41; --lemon-deep:#DDEB2E; --lemon-shade:#C9D62A;
  --g-100:#E2E2E0; --g-300:#DADADA; --g-400:#BDBDBD; --g-500:#8A8A8A; --g-600:#6E6E6E; --g-650:#6B6B6B; --g-700:#4A4A4A; --g-800:#333333; --g-900:#222222; --text:#111111;
  --white-75:rgb(255 255 255 / .75); --line-inv:rgb(255 255 255 / .16);
  --shadow-card:0 6px 24px rgb(0 0 0 / .05); --shadow-faq:0 4px 16px rgb(0 0 0 / .06); --shadow-circle:0 10px 30px rgb(0 0 0 / .06);
  --r-btn:12px; --r-card:16px;
  --font-text:'Noto Sans KR','Apple SD Gothic Neo',sans-serif;
  --font-label:'Libre Caslon Text',Georgia,serif;
  --font-hand:'Nanum Pen Script',cursive;
  --ease:cubic-bezier(.2,.8,.2,1); --ease-enter:cubic-bezier(.22,1,.36,1);
}
*{box-sizing:border-box}
body{margin:0;background:var(--ink)}
a{color:inherit}
.wrap{width:min(100% - 160px,1280px);margin:0 auto}
.screen{height:max(900px,100svh)}
.band{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;column-gap:24px}
.pair{font-family:var(--font-label);font-size:24px;line-height:1.1;text-align:center}
.pair>span{display:block}
.pair>span + span{text-decoration:underline;text-underline-offset:5px}
.pair--r{justify-self:end}
.pair--l{justify-self:start}
.hi{background:var(--lemon);color:var(--ink);padding:0 8px}

.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:0 32px;border-radius:var(--r-btn);background:var(--lemon);color:var(--ink);font-weight:900;line-height:1;text-decoration:none;white-space:nowrap;transition:transform 120ms var(--ease)}
.btn::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--ink);opacity:0;pointer-events:none;transition:opacity 120ms var(--ease)}
@media (hover:hover) and (pointer:fine){
  .btn:hover{transform:translateY(-1px);transition:transform 150ms var(--ease)}
  .btn:hover::after{opacity:.14;transition:opacity 150ms var(--ease)}
  .nav__word:hover::after{transform:scaleX(1);transform-origin:left;transition:transform 150ms var(--ease)}
}
.btn:active{transform:translateY(1px) scale(.985);transition:transform 90ms var(--ease)}
.btn:focus-visible,.nav__word:focus-visible,.nav__logo:focus-visible{outline:2px solid var(--white);outline-offset:2px}

.nav__word{position:relative}
.nav__word::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:1px;background:var(--white);transform:scaleX(0);transform-origin:right;transition:transform 120ms var(--ease)}
.nav__word:active{opacity:.6}

.cmp th,.cmp td{padding:18px 0;border-bottom:1px solid var(--g-100);text-align:left;vertical-align:middle}
.cmp th + th,.cmp td + th,.cmp td{padding-left:20px}
.cmp thead th,.cmp thead td{padding-top:0;padding-bottom:16px;border-bottom:2px solid var(--text)}
.cmp tbody tr:last-child th,.cmp tbody tr:last-child td{border-bottom:0;padding-bottom:0}
h3>span:first-child{flex:0 0 auto}

/* 히어로 등장: 한 번만. 제목이 줄 단위로 올라오고 나머지가 차례로 뒤따른다 */
.h1-line{display:block;overflow:hidden}
.h1-line>span{display:inline-block;animation:t-rise 700ms var(--ease-enter) backwards}
.h1-line:nth-child(2)>span{animation-delay:80ms}
.enter-up{animation:t-up 520ms var(--ease-enter) 350ms backwards}
.enter-up-2{animation:t-up 520ms var(--ease-enter) 410ms backwards}
.enter-up-3{animation:t-up 520ms var(--ease-enter) 470ms backwards}
.enter-up-4{animation:t-up 520ms var(--ease-enter) 530ms backwards}
.enter-photo{animation:t-settle 1100ms var(--ease-enter) backwards}
@keyframes t-rise{from{transform:translateY(105%)}}
@keyframes t-up{from{opacity:0;transform:translateY(12px)}}
@keyframes t-settle{from{transform:scale(1.05)}}

/* 모먼트: 검정 띠의 문장이 화면 가운데를 지날 때 낱말이 하나씩 또렷해지고 마지막에 형광펜 줄이 켜진다. 지원하지 않는 브라우저와 '모션 줄이기'에서는 처음부터 또렷하다 */
.hl .w{display:inline-block}
@keyframes t-lit{from{opacity:.45}}
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    .hl .w{animation:t-lit linear both;animation-timeline:view();animation-range:cover 4% cover 10%}
    .hl .w:nth-of-type(2){animation-range:cover 6% cover 12%}
    .hl .w:nth-of-type(3){animation-range:cover 8% cover 14%}
    .hl .w4{animation-range:cover 4% cover 11%}
  }
}

@media (max-width:1199px){
  .wrap{width:min(100% - 96px,1280px)}
  .screen{height:auto}
  .pad{padding-bottom:72px !important}
  .band{display:flex;flex-direction:column;align-items:center;row-gap:24px}
  .pair--r{display:none}
  .nav__words{display:none !important}
  .cols{display:flex !important;flex-direction:column;row-gap:40px}
  .scroll-x{overflow-x:auto;max-width:100%}
  .steps{width:auto !important;height:auto !important;display:flex;flex-direction:column;row-gap:32px}
  .steps>div{position:static !important;width:auto !important}
  .steps>svg{display:none}
  .h1-xl{font-size:clamp(36px,8.6vw,80px) !important}
  .nowrap-d{white-space:normal !important}
}
@media (max-width:639px){
  .wrap{width:calc(100% - 48px)}
  .nav__cta{display:none !important}
  .venn{transform:scale(.58);transform-origin:top left;margin-right:-246px;margin-bottom:-182px}
  .cmp-card{padding:20px 16px !important}
  .cmp{min-width:0 !important;font-size:14px !important}
  .cmp col:first-child{width:60px !important}
  .cmp thead th{font-size:14px !important}
  .cmp tbody th{font-size:13px !important}
  .cmp th + th,.cmp td + th,.cmp td{padding-left:12px}
}
@media (prefers-reduced-motion:reduce){
  .btn,.btn::after,.nav__word::after{transition:none}
  .btn:hover,.btn:active{transform:none}
  .h1-line>span,.enter-up,.enter-up-2,.enter-up-3,.enter-up-4,.enter-photo{animation:none}
}

/* 낮은 화면(노트북)에서는 히어로를 단계별로 줄여 신청 버튼이 첫 화면 안에 들어오게 한다 */
@media (min-width:1200px) and (max-height:869px){
  .h1-xl{font-size:64px !important}
  .hero-photo{transform:scale(.8);margin-top:4px !important;margin-bottom:-20px}
  .hero-price{font-size:36px !important}
}
@media (min-width:1200px) and (max-height:779px){
  #top{padding-top:104px !important}
  .h1-xl{font-size:58px !important}
  .hero-photo{transform:scale(.7);margin-top:-22px !important;margin-bottom:-30px}
  .hero-meta{margin-top:16px !important}
  .hero-cta{margin-top:20px !important}
}
@media (min-width:1200px) and (max-height:689px){
  #top{padding-top:96px !important}
  .h1-xl{font-size:52px !important}
  .hero-sub{margin-top:8px !important;font-size:22px !important}
  .hero-photo{transform:scale(.6);margin-top:-32px !important;margin-bottom:-36px}
  .hero-meta{margin-top:12px !important}
  .hero-price{font-size:32px !important}
  .hero-cta{margin-top:16px !important;height:48px !important;font-size:18px !important}
}
/* 좁은 화면에서 질문 카드 두 묶음의 폭을 같게 */
@media (max-width:1199px){#faq .cols{align-items:stretch !important}}
/* 좁은 화면에서 줄이 바뀔 때 한 단어만 남는 줄이 생기지 않게 */
@media (max-width:1199px){.screen h1,.screen h2,.screen h3,.screen p[style*="font-weight: 900"],.hero-sub,.hero-price,.bal{text-wrap:balance}}
.skip{position:absolute;left:16px;top:-64px;z-index:20;padding:12px 16px;border-radius:8px;background:var(--lemon);color:var(--ink);font-weight:700;text-decoration:none}
.skip:focus{top:16px}
