/* 시옷이응 스튜디오 — 크림 종이 + 로고 네이비 + 형광펜 */
:root {
  --bg: #f7f6f1;
  --paper: #fffdf8;
  --ink: #1b2d4c;
  --ink-soft: #4f5d78;
  --ink-faint: #8b94a8;
  --line: #e6e2d6;
  --blue: #3d6bff;
  --hl: #ffe27a;
  --rule: #dde6f3;
  --margin: #ffb3ad;
  --shadow-s: 0 1px 2px rgba(27, 45, 76, .06), 0 2px 8px rgba(27, 45, 76, .06);
  --shadow-m: 0 12px 30px rgba(27, 45, 76, .10), 0 2px 6px rgba(27, 45, 76, .05);
  --shadow-l: 0 26px 60px rgba(27, 45, 76, .16);
  --font: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --hand: "Gaegu", "Nanum Pen Script", "Malgun Gothic", cursive;
  --wrap: 1180px;
  --pad: max(20px, calc((100vw - var(--wrap)) / 2));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* 노트 탭 · 포스트잇 색 */
.tab-violet { --tab: #6f63ff; }
.tab-red { --tab: #ec4f4f; }
.tab-green { --tab: #12a36a; }
.note-yellow { --note: #fff3a1; --note-2: #ffe866; }
.note-sky { --note: #d6eaff; --note-2: #b9d9ff; }
.note-mint { --note: #d4f4e2; --note-2: #b3ebcd; }
.note-peach { --note: #ffe1c9; --note-2: #ffcba3; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.7 var(--font);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--hl); color: var(--ink); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.2; }
p, ul, ol { margin: 0 0 10px; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #fff; }
.hand { font-family: var(--hand); font-weight: 700; }

/* 형광펜: 보일 때 왼쪽부터 칠해진다 */
mark.hl {
  color: inherit;
  padding: 0 .1em;
  background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 93%, transparent 93%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.1s var(--ease) .35s;
}
.js mark.hl { background-size: 0% 100%; }
.js mark.hl.is-in { background-size: 100% 100%; }

/* 아이콘 타일 */
.icon { width: 22px; height: 22px; flex: none; }
.tile {
  display: inline-grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--tab, var(--ink)); color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tab, var(--ink)) 30%, transparent);
}
.ic-instagram { background: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 62%, #962fbf 85%, #4f5bd5); box-shadow: 0 8px 18px rgba(214, 41, 118, .25); }
.ic-threads { background: #111; box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.ic-blog, .ic-store { background: #03c75a; box-shadow: 0 8px 18px rgba(3, 199, 90, .28); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 22px; border-radius: 14px;
  font-weight: 700; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn .icon { width: 19px; height: 19px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(27, 45, 76, .25); }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(61, 107, 255, .35); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }

/* ── 상단 · 하단 ───────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 66px; padding: 0 var(--pad);
  background: rgba(247, 246, 241, .86);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(27, 45, 76, .06);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo-mark { width: 36px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; align-items: baseline; gap: 6px; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.04em; }
.brand-text span { font-size: .88rem; color: var(--ink-faint); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 3vw, 26px); font-size: .95rem; font-weight: 600; }
.nav-links a { color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { padding: 8px 14px; border-radius: 11px; background: var(--ink); color: #fff; }
.nav-links .nav-cta:hover { background: var(--blue); color: #fff; }
@media (max-width: 480px) { .nav-links a:not(.nav-cta) { display: none; } }

.site-footer { margin-top: 48px; padding: 36px var(--pad) 40px; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.site-footer .brand-text { flex-direction: column; gap: 0; line-height: 1.35; }
.footer-icons { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-icons a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--note); color: var(--ink);
  box-shadow: var(--shadow-s);
  transition: transform .25s var(--ease);
}
.footer-icons li:nth-child(odd) a { transform: rotate(-3deg); }
.footer-icons li:nth-child(even) a { transform: rotate(2deg); }
.footer-icons li a:hover { transform: translateY(-3px) rotate(0); }
.footer-icons .icon { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .88rem; color: var(--ink-faint); }
.footer-bottom a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { color: var(--blue); }
.footer-bottom .copy { margin-left: auto; }
@media (max-width: 640px) { .footer-bottom .copy { margin-left: 0; flex-basis: 100%; } }

/* ── 홈: 히어로 ───────────────────────── */
.hero-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, #e2e8ff 0, transparent 38%),
    radial-gradient(circle at 6% 94%, #fff0bf 0, transparent 36%),
    var(--bg);
}
.hero-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(27, 45, 76, .10) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 96%); mask-image: linear-gradient(180deg, #000 25%, transparent 96%);
}
.hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 48px;
  max-width: var(--wrap); margin: 0 auto; padding: 64px 20px 88px;
  min-height: min(720px, calc(100svh - 66px));
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 22px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--paper); box-shadow: var(--shadow-s); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--ink-soft);
}
/* 타이핑 글자가 다 지워져도 높이가 줄지 않게(아래 내용이 튀지 않게), 길어도 한 줄 */
.pill { max-width: 100%; white-space: nowrap; }
.pill .typing { overflow: hidden; text-overflow: ellipsis; }
.pill .typing:empty::before { content: "\200b"; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: -4px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-title { font-size: clamp(2.6rem, 6.6vw, 5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.05em; margin-bottom: 14px; }
.hero-title .line { display: block; }
.hero-sub { font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.35; margin-bottom: 18px; }
.br-m { display: none; }
@media (max-width: 420px) { .br-m { display: inline; } }
/* 로테이팅: 한 줄 높이 창 안에서 새 단어는 아래에서 올라오고 이전 단어는 위로 빠진다 */
.rotate { position: relative; display: inline-block; overflow: hidden; color: var(--blue); vertical-align: bottom; transition: width .55s var(--ease); }
.rotate-word { display: block; white-space: nowrap; }
.rotate-word.in { animation: slide-in .55s var(--ease) both; }
.rotate-word.out { position: absolute; left: 0; top: 0; animation: slide-out .55s var(--ease) forwards; }
.rotate-measure { position: absolute; left: 0; top: 0; visibility: hidden; pointer-events: none; }
@keyframes slide-out { to { transform: translateY(-105%); } }
@keyframes slide-in { from { transform: translateY(105%); } }
.hero-desc { max-width: 30em; margin-bottom: 30px; font-size: clamp(1rem, 1.6vw, 1.1rem); color: var(--ink-soft); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ㅅ + ㅇ = Ai (모눈 종이) */
.equation {
  position: relative; margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  transform: rotate(1.6deg);
}
.equation::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 226, 122, .75); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
/* 슬라이드 묶음: 모든 장이 같은 칸에 겹쳐 있어 높이는 가장 큰 장에 맞춰지고, 보이는 한 장만 아래에서 올라온다 */
.eq-deck { display: grid; overflow: hidden; }
.eq-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; visibility: hidden; }
.eq-slide.is-on, .eq-slide.is-out { visibility: visible; }
.eq-slide.is-on:not(.is-first) { animation: slide-in .65s var(--ease) both; }
.eq-slide.is-out { animation: slide-out .65s var(--ease) forwards; }
.eq-top { display: flex; align-items: center; justify-content: center; height: clamp(2.6rem, 5.6vw, 4.2rem); }
.eq-row { gap: clamp(8px, 2vw, 16px); font-size: clamp(2.6rem, 5.6vw, 4.2rem); font-weight: 900; line-height: 1; }
.eq-top .hand { font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--tab); }
.eq-jamo { display: inline-block; }
.eq-op { color: var(--blue); font-weight: 700; font-size: .7em; }
.eq-logo { display: grid; place-items: center; width: min(58%, 230px); aspect-ratio: 640 / 591; margin: 16px 0 8px; }
.eq-logo img, .eq-logo svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.eq-logo.svc-logo img, .eq-logo.svc-logo svg { width: 78%; height: 78%; }
.eq-cap { margin: 0 0 10px; min-height: 2.2rem; display: flex; align-items: center; gap: .3em; font-size: 1.05rem; color: var(--ink-soft); white-space: nowrap; }
.eq-cap b { color: var(--ink); }
.equation .hand { font-size: 1.5rem; color: var(--ink-soft); }
.roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
.roles span { padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
.roles b { color: var(--ink); }
.roles .reco { border-color: color-mix(in srgb, var(--tab) 45%, transparent); background: color-mix(in srgb, var(--tab) 8%, var(--paper)); }
.roles .reco b { color: var(--tab); }
.js .equation.is-in .j-s { animation: drop .9s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
.js .equation.is-in .j-o { animation: drop .9s cubic-bezier(.3, 1.6, .5, 1) .45s both; }
.js .equation.is-in .eq-slide.is-first img { animation: pop .8s cubic-bezier(.3, 1.6, .5, 1) .9s both; }
@keyframes drop { from { transform: translateY(-160px) rotate(-30deg); opacity: 0; } 60% { opacity: 1; } }
@keyframes pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }

/* 떨어지는 ㅅ · ㅇ */
.fall { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.drop {
  position: absolute; top: -60px;
  font-weight: 900; line-height: 1;
  animation: fall var(--dur, 10s) linear var(--delay, 0s) infinite;
  will-change: transform;
}
@keyframes fall {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(var(--sway, 20px), var(--dist, 900px)) rotate(var(--spin, 180deg)); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 40px 20px 64px; gap: 44px; min-height: 0; }
  .equation { max-width: 440px; width: 100%; margin: 0 auto; }
}

/* ── 마키 ───────────────────────── */
.marquee { overflow: hidden; background: var(--ink); color: #fff; transform: rotate(-1.2deg); margin: -12px -20px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 26px; padding: 16px 13px; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.marquee-group i { font-style: normal; color: var(--hl); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 섹션 ───────────────────────── */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 10vw, 120px) 20px 0; scroll-margin-top: 40px; }
.section-head { margin-bottom: 36px; }
.kicker {
  display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em;
}
.section-head h2, .letter h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; margin-bottom: 8px; }
.section-desc { color: var(--ink-soft); margin: 0; }

/* 서비스: 스프링 노트 */
.nb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 680px) { .nb-grid { grid-template-columns: 1fr; } }
.nb { position: relative; padding-top: 34px; }
/* 탭은 노트 뒤로 10px만 들어가고, 보이는 부분 위아래 여백을 맞춘다 */
.nb-tab {
  position: absolute; top: 0; right: 26px; z-index: 0;
  padding: 7px 14px 17px; border-radius: 10px 10px 0 0; line-height: 1.5;
  background: var(--tab, #c9ccd6); color: #fff;
  font-size: .8rem; font-weight: 800; letter-spacing: .02em;
  transition: transform .35s var(--ease);
}
.nb-page {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; height: 100%;
  min-height: 340px; padding: 26px 22px 20px 70px;
  border-radius: 6px 16px 16px 6px;
  background:
    linear-gradient(90deg, transparent 54px, var(--margin) 54px, var(--margin) 55.5px, transparent 55.5px),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px),
    var(--paper);
  background-position: 0 0, 0 14px, 0 0;
  box-shadow: 5px 5px 0 -1px var(--paper), 5px 5px 0 0 var(--line), var(--shadow-m);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* 스프링 구멍 */
.nb-page::before {
  content: ""; position: absolute; left: 14px; top: 18px; bottom: 18px; width: 16px;
  background: radial-gradient(circle, var(--bg) 0 5px, rgba(27, 45, 76, .18) 5.5px 6.5px, transparent 7px) 0 0 / 16px 30px repeat-y;
}
/* 스프링 고리 */
.nb-page::after {
  content: ""; position: absolute; left: -8px; top: 18px; bottom: 18px; width: 30px;
  background: radial-gradient(ellipse 15px 4px at 15px 15px, transparent 0 9px, #9aa3b5 9.5px 11px, transparent 11.5px) 0 0 / 30px 30px repeat-y;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 60%); mask-image: linear-gradient(90deg, #000 60%, transparent 60%);
}
.nb:hover .nb-page { transform: translateY(-6px) rotate(-.6deg); box-shadow: 5px 5px 0 -1px var(--paper), 5px 5px 0 0 var(--line), 0 26px 50px rgba(27, 45, 76, .16); }
.nb:hover .nb-tab { transform: translateY(-6px); }
.nb-no { font-size: .78rem; font-weight: 700; color: var(--ink-faint); letter-spacing: .08em; line-height: 32px; margin-top: -4px; }
.nb-memo {
  position: absolute; top: 20px; right: 18px;
  padding: 2px 12px;
  font: 700 1.35rem/1.3 var(--hand); color: var(--tab);
  border: 2px solid currentColor;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transform: rotate(8deg);
}
.nb .tile { margin: 4px 0 16px; }
.nb h3 { font-size: clamp(1.6rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -.045em; line-height: 32px; margin-bottom: 8px; padding-top: 4px; }
.nb-link { text-decoration: none; }
.nb-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nb-desc { color: var(--ink-soft); line-height: 32px; margin-bottom: 14px; }
/* "○○에게 추천!" 손글씨 줄 */
.nb-reco { display: flex; align-items: center; gap: 10px; margin: -2px 0 12px; line-height: 32px; }
.reco-badge {
  flex: none; padding: 1px 9px; border-radius: 999px;
  background: var(--tab); color: #fff;
  font-size: .74rem; font-weight: 800; line-height: 1.7; letter-spacing: .04em;
  transform: rotate(-4deg);
}
.nb-reco .hand { font-size: 1.4rem; line-height: 1.2; color: var(--ink); }
.nb-reco mark.hl { padding: 0 .12em; }
/* 해시태그 특징 */
.hashtags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 18px; line-height: 32px; }
.hashtags span { font-size: .9rem; font-weight: 700; color: var(--tab); }
.nb-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: auto 0 0; padding-top: 12px; }
.nb-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.nb-go .icon { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.nb:hover .nb-go .icon { transform: translate(3px, -3px); }
.nb-platform { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.nb-platform::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--tab); }
.nb-legal { position: relative; z-index: 2; font-size: .82rem; color: var(--ink-faint); }
.nb-legal:hover { color: var(--blue); }
.nb-blank .nb-page { align-items: center; justify-content: center; text-align: center; padding-left: 70px; }
.nb-blank .tile { background: var(--paper); color: var(--ink-faint); box-shadow: var(--shadow-s); margin: 0 0 10px; }
.nb-blank h3 { color: var(--ink-faint); font-size: 1.5rem; }
.nb-blank .hand { font-size: 1.4rem; color: var(--ink-faint); margin: 0; }
.nb-blank:hover .nb-page { transform: none; }

/* 채널: 포스트잇 보드 */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; list-style: none; margin: 0; padding: 10px 0 0; }
@media (max-width: 980px) { .board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .board { gap: 26px 14px; } }
.postit {
  --tilt: -2deg;
  position: relative;
  display: flex; flex-direction: column;
  height: 100%; min-height: 210px;
  padding: 26px 20px 20px;
  background: linear-gradient(170deg, var(--note) 70%, var(--note-2));
  border-radius: 2px 2px 22px 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .04), 0 18px 24px -14px rgba(27, 45, 76, .35);
  text-decoration: none;
  transform: rotate(var(--tilt));
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.board li:nth-child(2) .postit { --tilt: 1.8deg; }
.board li:nth-child(3) .postit { --tilt: -1.2deg; }
.board li:nth-child(4) .postit { --tilt: 2.4deg; }
/* 접힌 모서리 */
.postit::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px;
  background: linear-gradient(315deg, transparent 50%, color-mix(in srgb, var(--note-2) 70%, #8a7a50) 50%);
  border-radius: 0 0 22px 0; opacity: .45;
}
.tape {
  position: absolute; top: -13px; left: 50%; width: 84px; height: 26px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.postit:hover { transform: rotate(0) translateY(-8px) scale(1.03); box-shadow: 0 1px 1px rgba(0, 0, 0, .04), 0 30px 34px -16px rgba(27, 45, 76, .4); }
.postit-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.postit .tile { width: 42px; height: 42px; border-radius: 12px; }
.postit .tile .icon { width: 20px; height: 20px; }
.postit-arrow { color: var(--ink-soft); transition: transform .35s var(--ease); }
.postit-arrow .icon { width: 20px; height: 20px; }
.postit:hover .postit-arrow { transform: translate(3px, -3px); }
.postit strong { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.3; }
.postit .handle { font-size: .85rem; color: var(--ink-soft); }
.postit .memo { margin-top: auto; padding-top: 12px; font: 700 1.3rem/1.2 var(--hand); color: var(--ink); }

/* 연락: 항공 우편 편지지 */
.letter {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 64px) clamp(22px, 5vw, 56px) clamp(32px, 5vw, 52px);
  border-radius: 18px; text-align: center;
  background: repeating-linear-gradient(180deg, transparent 0 35px, var(--rule) 35px 36px), var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
}
.letter::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 10px solid transparent; border-radius: inherit;
  border-image: repeating-linear-gradient(-45deg, #ec4f4f 0 14px, transparent 14px 28px, #3d6bff 28px 42px, transparent 42px 56px) 10;
  opacity: .85;
}
.letter .to { font-size: 1.5rem; color: var(--ink-soft); margin-bottom: 8px; }
.letter .section-desc { margin-bottom: 26px; }
.letter-cta { margin: 0; }
.mail-link {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 16px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: clamp(1rem, 2.6vw, 1.3rem); font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 14px 30px rgba(27, 45, 76, .25);
  transition: transform .3s var(--ease), background .2s, box-shadow .3s;
}
@media (max-width: 480px) {
  .mail-link { gap: 8px; padding: 13px 18px; font-size: 1rem; white-space: nowrap; }
  .mail-link .icon { width: 18px; height: 18px; }
}
.mail-link:hover { background: var(--blue); transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(61, 107, 255, .35); }

/* ── 하위 페이지(개인정보 · 404) ───────────────────────── */
body:not(.home) main { max-width: 860px; margin: 0 auto; padding: 28px 20px 0; display: grid; gap: 16px; }
body:not(.home) {
  background:
    radial-gradient(circle at 92% 0%, #e4e9ff 0, transparent 34%),
    radial-gradient(circle at 0% 30%, #fff3c9 0, transparent 30%),
    var(--bg) no-repeat;
}
.crumbs { font-size: .85rem; color: var(--ink-faint); }
.crumbs a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--blue); }
.eyebrow { margin: 0 0 12px; display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.page-head { padding: 8px 0 12px; }
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -.04em; }
.page-head > :last-child { margin-bottom: 0; }
.muted { color: var(--ink-faint); font-size: .92rem; }
.muted a, .page-head a:not(.button) { color: var(--blue); font-weight: 600; }
.jump { margin-top: 18px; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 13px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 24px rgba(27, 45, 76, .2);
  transition: transform .25s var(--ease), background .2s;
}
.button:hover { background: var(--blue); transform: translateY(-2px); }
.card {
  padding: clamp(20px, 3.4vw, 30px);
  border-radius: 18px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.card > :last-child { margin-bottom: 0; }
.card h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.card ul, .card ol { padding-left: 22px; }
.card li + li { margin-top: 6px; }
.card li::marker { color: var(--blue); font-weight: 700; }
.card a:not(.button) { color: var(--blue); font-weight: 600; }
.card hr { border: 0; border-top: 1px dashed var(--line); margin: 16px 0; }
.card.highlight { border: 2px solid var(--ink); background: linear-gradient(160deg, #fff8d6, var(--paper) 55%); box-shadow: 0 16px 40px rgba(27, 45, 76, .12); }
.card.highlight h2 { background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 93%, transparent 93%); display: inline; }
.card.highlight h2 + * { margin-top: 14px; }
section[id] { scroll-margin-top: 84px; }
.list { list-style: none; padding: 0 !important; }
.list li { margin-top: 8px; }
.notfound { text-align: center; padding: 48px 20px; }
.big404 { margin: 0 0 8px; font-size: clamp(5rem, 22vw, 9rem); font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.big404 span { color: var(--blue); }
.notfound h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 10px; }

/* ── 스태거 등장 ───────────────────────── */
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-done > * { transition-delay: 0s; }

/* ── 커스텀 커서 · 트레일 ───────────────────────── */
.cursor-ai, .trail { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 90; }
/* A 꼭짓점(12,3)이 마우스 위치 */
.cursor-ai { width: 40px; height: 40px; margin: -3px 0 0 -12px; color: var(--ink); transition: opacity .3s, color .2s; }
.cursor-ai svg { display: block; overflow: visible; filter: drop-shadow(0 2px 3px rgba(27, 45, 76, .25)); }
.cursor-ai path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cursor-ai .outline path { stroke: #fff; stroke-width: 6.6; }
.cursor-ai .ink path { stroke: currentColor; stroke-width: 3.4; }
/* 움직일 때: 화살표처럼 기울고, I는 A 가로획 가운데에서 아래로 뻗은 몸통 */
.cursor-ai .g-all { transform-origin: 12px 3px; transform: rotate(-28deg); transition: transform .45s var(--ease); }
.cursor-ai .l-i { transform: translate(-13.5px, 10.4px); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
/* 멈추면: 똑바로 서고 I가 옆으로 빠져 "AI" */
/* AI로 바뀔 때는 천천히(먼저 똑바로 선 뒤 I가 옆으로), 다시 움직이면 바로 화살표로 */
.cursor-ai.is-idle .g-all { transform: none; transition: transform 1s var(--ease); }
.cursor-ai.is-idle .l-i { transform: none; transition: transform 1.3s cubic-bezier(.3, 1.25, .5, 1) .35s; }
.cursor-ai.is-hover { color: var(--blue); }
.cursor-ai.is-down .g-all { transform: rotate(-28deg) scale(.82); }
.cursor-hidden .cursor-ai { opacity: 0; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
.trail { font: 900 15px/1 var(--font); will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-stagger] > * { opacity: 1; transform: none; }
  .js mark.hl { background-size: 100% 100%; }
  .fall { display: none; }
}
