/* aimmanuel.com 메인(PublicMarketingLanding)과 같은 토큰: 따뜻한 회색 바닥, 검은 글자, 벽돌색 한 점 */
:root { --bg: #efefed; --fg: #161616; --muted: #8a8985; --line: #d9d8d4; --em: #b4513f; --sub: #55544f; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif; font-feature-settings: "ss06", "tnum"; line-height: 1.5; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
main { max-width: 440px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 24px 48px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; }
.word { font-size: 18px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.label { font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.nav .label { text-align: right; line-height: 1.3; }
em { font-style: normal; color: var(--em); }
.pill { display: inline-block; font-size: 15px; font-weight: 500; padding: 12px 20px; border-radius: 999px; background: var(--fg); color: #fff; }
.pill.ghost { background: none; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.pill.wide { display: block; text-align: center; margin-top: 36px; }
.pill:active, .rows a:active { opacity: .7; }

h1 { font-size: 30px; font-weight: 500; letter-spacing: -.035em; line-height: 1.3; margin-top: 8px; }
.brain { display: block; width: 300px; max-width: 80%; height: auto; margin: 4px auto 0; }
.head { margin: 44px 0 10px; }
.rows a { display: grid; grid-template-columns: 2.2em 1fr auto; align-items: baseline; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.rows a:last-child { border-bottom: 1px solid var(--line); }
.rows i { font-style: normal; font-size: 12px; color: var(--muted); }
.rows b { font-weight: 500; font-size: 16px; }
.rows small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.rows .desc { display: block; font-size: 14px; line-height: 1.6; color: var(--sub); margin-top: 8px; font-weight: 400; }
.rows u { text-decoration: none; color: var(--muted); }
.more { display: block; text-align: center; font-size: 14px; color: var(--muted); margin-top: 28px; }

/* 명함: 회색 바닥 위 물건 두 개 — 뇌, 그리고 누르면 뒤집히는 종이 명함 */
.stage { position: relative; height: 450px; }
.stage .brain { position: absolute; left: 50%; top: 0; transform: translateX(-50%); max-width: none; margin: 0; }
.paper { position: absolute; left: 50%; top: 186px; width: min(330px, 100%); aspect-ratio: 90 / 50; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
  transform: translateX(-50%) rotate(-4deg); perspective: 900px; -webkit-tap-highlight-color: transparent; }
.face { position: absolute; inset: 0; border-radius: 4px; padding: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.2,.8,.2,1); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 18px 40px -12px rgba(0,0,0,.24); }
.front { background: #fbfbfa; }
.back { background: var(--fg); color: #fff; transform: rotateY(180deg); }
.paper.flip .front { transform: rotateY(-180deg); }
.paper.flip .back { transform: rotateY(0); }
.face .word { font-size: 15px; }
.face .dot { position: absolute; right: 22px; top: 26px; width: 7px; height: 7px; border-radius: 50%; background: var(--em); }
.face .name { position: absolute; left: 22px; bottom: 18px; }
.face .name b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.face .name span { font-size: 10px; color: var(--muted); }
.face .con { position: absolute; right: 22px; bottom: 18px; text-align: right; font-size: 10px; line-height: 1.7; color: var(--sub); }
.face .tag { position: absolute; left: 22px; bottom: 18px; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.75); }
.cta { display: flex; gap: 10px; justify-content: center; }
.note { text-align: center; margin-top: 16px; }
.note a { text-decoration: underline; text-underline-offset: 3px; }

/* NFC 인트로: 금속 뇌가 사람 뇌로 바뀐 뒤 명함이 올라온다 (brain-intro.js) */
#intro { display: none; }
.js #intro { display: block; position: fixed; inset: 0; z-index: 10; background: var(--bg); transition: opacity .45s ease; }
.js #intro canvas { width: 100%; height: 100%; display: block; }
.js.in #intro { opacity: 0; pointer-events: none; }
.js #intro.gone { display: none; }
.js .person main { opacity: 0; transform: translateY(28px); }
.js.in .person main { opacity: 1; transform: none; transition: opacity .5s ease .1s, transform .6s cubic-bezier(.2,.8,.2,1) .1s; }
.js #intro p { position: absolute; left: 0; right: 0; top: 75%; text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity 1s ease, transform 1s ease, filter 1s ease; }
.js #intro.cap p { opacity: 1; transform: none; filter: none; }
