/* AI 팀. Same design language as the content page (/content/): main reference Toss Payments,
   catalog docs/design-references/2026-11-22-content-page-v2/. Pictures are empty slots for now (AI-HERO, AI-ATT,
   AI-T1..3, AI-HOW). Leafeep rules: no shadows, no colour dots, no uppercase kickers, no decorative numbers;
   one motion voice (fade and 12px rise, once). */
@font-face { font-family: "Pretendard Page"; src: url("/ai/assets/pretendard.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #fff;
  --bg-soft: #f9fafb;
  --bg-panel: #f2f4f7;
  --dark: #17171c;
  --dark-2: #222229;
  --text: #191f28;
  --text-2: #4e5968;
  --text-3: #8b95a1;
  --rule: rgba(25, 31, 40, .08);
  --p: #6336ee;
  --p-dark: #4e24c7;
  --p-soft: #f2eeff;
  --p-light: #b9a5ff;
  --width: 1120px;
  --band: 180px;
  --gap-head: 80px;
  --ease: cubic-bezier(.16, .75, .24, 1);
  color-scheme: light;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: "Pretendard Page", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif; font-size: 17px; font-weight: 500; line-height: 1.6; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
p, h1, h2, h3, h4, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 700; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--text); color: #fff; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: calc(100% - 80px); max-width: var(--width); margin-inline: auto; }
.narrow { max-width: 800px; }

/* Header: clear over the film, white after it */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); transition: background-color .4s var(--ease), color .4s var(--ease); }
.top.is-over { background: transparent; backdrop-filter: none; color: #fff; }
.top-in { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.top-cta { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 10px; background: var(--p); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .2s; }
.top-cta:hover { background: var(--p-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font-family: inherit; height: 48px; padding: 0 22px; border-radius: 12px; background: var(--p); color: #fff; font-size: 16px; font-weight: 600; transition: background-color .2s, transform .15s; }
.btn:hover { background: var(--p-dark); }
.btn:active { transform: scale(.98); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }

/* Media slots: empty until a file with the slot's name exists */
.slot { position: relative; overflow: hidden; background: #e5e8eb; }
.r169 { aspect-ratio: 16 / 9; }
.r45 { aspect-ratio: 4 / 5; }
.r916 { aspect-ratio: 9 / 16; }
.slot > img, .slot > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-id { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.slot.is-filled .slot-id { display: none; }

/* Hero: a full-bleed picture (empty slot for now) with the line in the middle */
.hero { position: relative; height: 100svh; min-height: 600px; background: #15161c; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: #1d1f27; }
.hero-media .slot-id { top: 84px; left: 24px; color: rgba(255, 255, 255, .3); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 50% at 50% 50%, rgba(12, 14, 24, .32), rgba(12, 14, 24, 0) 70%), linear-gradient(180deg, rgba(12, 14, 24, .38), rgba(12, 14, 24, .22) 45%, rgba(12, 14, 24, .48)); }
.hero-media img { object-position: 60% 40%; }
.hero h1 { text-shadow: 0 0 60px rgba(0, 0, 0, .3); }
.br-m { display: none; }
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 24px; }
.hero-name { padding: 7px 16px; border-radius: 999px; background: var(--p); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.hero h1 { margin-top: 18px; font-size: 72px; font-weight: 700; line-height: 1.18; letter-spacing: -.045em; }
.caret { display: inline-block; width: .07em; height: .9em; margin-left: .12em; background: var(--p); vertical-align: -.1em; animation: blink 1.06s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.js .hero-in > * { opacity: 0; transform: translateY(12px); animation: rise .9s var(--ease) .15s forwards; }
.js .hero-in > h1 { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-down { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); color: rgba(255, 255, 255, .8); padding: 8px; transition: color .2s; }
.hero-down:hover { color: #fff; }

/* Bands and section heads */
.band { padding: var(--band) 0; }
.soft { background: var(--bg-soft); }
.dark { background: var(--dark); color: #fff; }
.head { text-align: center; max-width: 860px; margin-inline: auto; }
.head h2 { font-size: 48px; line-height: 1.3; letter-spacing: -.035em; }
.head p { margin-top: 24px; font-size: 20px; line-height: 1.6; color: var(--text-2); }

/* What: three drawn screens, one per format, on soft tinted panels */
.tiles { margin-top: var(--gap-head); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { border-radius: 24px; overflow: hidden; background: var(--bg-soft); }
.t-blog { background: #eef1f5; }
.t-card { background: #f3effe; }
.t-col { background: #ecf1f7; }
.tile-art { aspect-ratio: 400 / 340; }
.tile-art svg { display: block; width: 100%; height: 100%; font-family: "Pretendard Page", Pretendard, sans-serif; letter-spacing: -.02em; }
.tile-in { padding: 8px 32px 32px; }
.tile h3 { font-size: 26px; letter-spacing: -.035em; }
.tile p { margin-top: 6px; font-size: 16px; color: var(--text-2); }

/* How: the steps on the left, the actual chat on the right */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 80px; align-items: center; }
.how-copy h2 { font-size: 48px; line-height: 1.3; letter-spacing: -.035em; }
.how-steps { margin-top: 48px; display: grid; gap: 28px; }
.how-steps li { padding-left: 20px; border-left: 2px solid rgba(99, 54, 238, .22); }
.how-steps span { display: block; font-size: 14px; font-weight: 700; color: var(--p); }
.how-steps strong { display: block; margin-top: 4px; font-size: 22px; line-height: 1.4; letter-spacing: -.025em; }
.how-steps p { margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.chat { padding: 28px 24px; border-radius: 28px; background: #dfe3ea; }
.chat-day { margin: 0 auto 16px; width: fit-content; padding: 3px 12px; border-radius: 999px; background: rgba(25, 31, 40, .12); font-size: 12px; font-weight: 600; color: var(--text-2); }
.msg { display: flex; gap: 10px; margin-bottom: 18px; }
.msg img { flex: none; width: 36px; height: 36px; padding: 6px; border-radius: 12px; background: #fff; }
.who { font-size: 13px; font-weight: 600; color: var(--text-2); }
.bub { margin-top: 4px; max-width: 300px; padding: 11px 14px; border-radius: 4px 16px 16px 16px; background: #fff; font-size: 15px; line-height: 1.55; }
.msg.me { justify-content: flex-end; }
.msg.me .bub { border-radius: 16px 4px 16px 16px; background: var(--p); color: #fff; }
.att { margin-top: 6px; display: flex; gap: 12px; align-items: center; max-width: 300px; padding: 10px; border-radius: 14px; background: #fff; }
.att-img { flex: none; width: 56px; height: 56px; border-radius: 10px; background: url("/content/assets/media/ATT.jpg") center / cover, var(--bg-panel); }
.att p { display: grid; gap: 2px; }
.att b { font-size: 14px; line-height: 1.4; }
.att span { font-size: 12px; color: var(--text-3); }

/* Price: the model as a picture, no amounts. Base fee stays the same; the violet part grows only with visitors. */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 80px; align-items: center; }
.price-copy h2 { font-size: 60px; line-height: 1.18; letter-spacing: -.045em; }
.price-copy > p { margin-top: 24px; max-width: 460px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .7); }
.price-facts { margin-top: 28px; display: grid; gap: 10px; }
.price-facts li { position: relative; padding-left: 28px; font-size: 16px; color: rgba(255, 255, 255, .88); }
.price-facts li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--p-light); border-bottom: 2px solid var(--p-light); transform: rotate(-45deg); }
.price-copy .btn { margin-top: 40px; }
.bars { margin: 0; padding: 36px 36px 28px; border-radius: 28px; background: var(--dark-2); }
.bars-plot { height: 280px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: end; }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.bar i { display: block; border-radius: 8px; }
.bar .base { height: 34%; background: rgba(255, 255, 255, .22); }
.bar .more { height: calc(var(--h) * 60%); background: var(--p); transform-origin: bottom; }
.bar .more[style*="--h:0"] { display: none; }
.bar span { margin-top: 8px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .5); }
.js .bars .more { transform: scaleY(0); transition: transform .9s var(--ease); }
.js .bars.in .more { transform: none; }
.bars .bar:nth-child(2) .more { transition-delay: .1s; } .bars .bar:nth-child(3) .more { transition-delay: .2s; }
.bars .bar:nth-child(4) .more { transition-delay: .3s; } .bars .bar:nth-child(5) .more { transition-delay: .4s; } .bars .bar:nth-child(6) .more { transition-delay: .5s; }
.bars-key { margin-top: 20px; display: flex; gap: 20px; justify-content: center; font-size: 14px; color: rgba(255, 255, 255, .7); }
.bars-key span { display: inline-flex; align-items: center; gap: 8px; }
.bars-key span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.k-base::before { background: rgba(255, 255, 255, .22); }
.k-more::before { background: var(--p); }

/* Ok: the whole service in one chat, large */
.chat-wide { margin: var(--gap-head) auto 0; max-width: 640px; padding: 32px 28px; }
.chat-wide .bub, .chat-wide .att { max-width: 420px; }
.chat .att-img { display: block; overflow: hidden; background: none; }
.att-img svg { display: block; width: 100%; height: 100%; }
/* What: tiles with empty picture slots */
.tile { background: #fff; }
.t-a { background: #eef1f5; }
.t-b { background: #f3effe; }
.t-c { background: #ecf1f7; }
/* How: a picture slot next to the steps */
.how-art { aspect-ratio: 4 / 5; border-radius: 28px; background: #eef1f5; overflow: hidden; }
.how-art svg { display: block; width: 100%; height: 100%; font-family: "Pretendard Page", Pretendard, sans-serif; letter-spacing: -.02em; }
.js .how-art .sv { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.how-art.in .sv { opacity: 1; transform: none; }
.how-art.in .sv-2 { transition-delay: .3s; } .how-art.in .sv-3 { transition-delay: .6s; } .how-art.in .sv-4 { transition-delay: .9s; }
/* Safe: three short promises */
.safe { margin-top: var(--gap-head); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.safe li { padding: 36px 32px; border-radius: 24px; background: #fff; }
.safe li::before { content: ""; display: block; width: 36px; height: 36px; margin-bottom: 20px; border-radius: 12px; background: var(--p-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v6c0 4.2-3 7.6-7 9-4-1.4-7-4.8-7-9V6z' fill='none' stroke='%236336ee' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='m8.8 12.2 2.2 2.2 4.2-4.4' fill='none' stroke='%236336ee' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.safe strong { display: block; font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
.safe p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
/* Price: one job first, more added later */
.stack { display: grid; gap: 12px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 28px; border-radius: 20px; background: var(--dark-2); color: rgba(255, 255, 255, .5); border: 1px dashed rgba(255, 255, 255, .16); }
.job span { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.job b { font-size: 14px; font-weight: 600; }
.job.is-on { background: var(--p); border-color: transparent; color: #fff; }
.js .stack .job { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.stack.in .job { opacity: 1; transform: none; }
.stack.in .job:nth-child(2) { transition-delay: .15s; }
.stack.in .job:nth-child(3) { transition-delay: .3s; }

/* Ask: the reasons to just leave a number on the left, one clean card on the right; after sending, the same card
   says what happens next */
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 80px; align-items: start; }
.start-copy { padding-top: 24px; }
.start-copy h2 { font-size: 48px; line-height: 1.3; letter-spacing: -.035em; }
.start-copy > p { margin-top: 24px; font-size: 19px; line-height: 1.65; color: var(--text-2); }
.start-points { margin-top: 36px; display: grid; gap: 14px; }
.start-points li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.start-points svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--p-soft); color: var(--p); }
.ask-card { padding: 40px; border-radius: 28px; background: #fff; }
.ask fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 18px; min-width: 0; }
.ask-field { display: grid; gap: 8px; }
.ask-field span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.ask-field em { margin-left: 4px; font-style: normal; font-weight: 500; color: var(--text-3); }
.ask-field input, .ask-field textarea { width: 100%; padding: 0 18px; height: 56px; border: 1.5px solid transparent; border-radius: 14px; background: var(--bg-panel); color: var(--text); font: inherit; font-size: 17px; font-weight: 600; transition: border-color .2s, background-color .2s; }
.ask-field textarea { height: auto; min-height: 96px; padding: 15px 18px; line-height: 1.55; resize: vertical; font-weight: 500; }
.ask-field input:focus, .ask-field textarea:focus { outline: none; background: #fff; border-color: var(--p); }
.ask-field input::placeholder, .ask-field textarea::placeholder { color: #b0b8c1; font-weight: 500; }
.agree { margin-top: 4px; padding: 6px 0 0; border-top: 1px solid var(--rule); }
.check { display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text-2); }
.check.all { font-size: 17px; font-weight: 700; color: var(--text); }
.check input { flex: none; appearance: none; -webkit-appearance: none; margin: 0; width: 24px; height: 24px; border-radius: 50%; background: #e5e8eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.6 3.6 7.4-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: background-color .2s; cursor: pointer; }
.check input:checked { background-color: var(--p); }
.check input:focus-visible { outline: 2px solid var(--p); outline-offset: 2px; }
.agree-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-left: 4px; }
.agree-item .check { padding: 8px 0; }
.agree-item .check input { width: 20px; height: 20px; background-size: 15px; }
.agree-item details { flex-basis: 100%; order: 3; margin: -2px 0 6px 32px; }
.agree-item summary { position: absolute; top: 10px; right: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.agree-item summary::-webkit-details-marker { display: none; }
.agree-item { position: relative; }
.agree-item details p { padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); font-size: 13px; line-height: 1.65; color: var(--text-2); }
.ask-submit { width: 100%; height: 58px; margin-top: 6px; font-size: 18px; }
.ask-submit[disabled] { opacity: .6; cursor: progress; }
#ask-feedback { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff1f0; color: #b42318; font-size: 15px; }
/* After sending */
.ask-done { padding: 12px 0 0; text-align: center; }
.ask-done:focus { outline: none; }
.done-mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--p); color: #fff; animation: done-in .7s var(--ease) both; }
.done-mark svg { width: 36px; height: 36px; }
@keyframes done-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ask-done-title { margin-top: 22px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; animation: done-in .7s var(--ease) .1s both; }
.ask-done-sub { margin-top: 8px; font-size: 17px; color: var(--text-2); animation: done-in .7s var(--ease) .18s both; }
.ask-done-sub b { color: var(--text); font-variant-numeric: tabular-nums; }
.next { margin: 32px 0 0; padding: 24px 24px 6px; border-radius: 20px; background: var(--bg-soft); text-align: left; animation: done-in .7s var(--ease) .28s both; }
.next li { position: relative; padding: 0 0 20px 32px; }
.next li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--p); background: #fff; }
.next li:first-child::before { background: var(--p); }
.next li + li::after { content: ""; position: absolute; left: 9px; top: -15px; height: 18px; border-left: 2px solid rgba(99, 54, 238, .22); }
.next b { display: block; font-size: 16px; letter-spacing: -.02em; }
.next span { display: block; margin-top: 2px; font-size: 14px; color: var(--text-2); }
.ask-fix { margin-top: 20px; font-size: 13px; color: var(--text-3); }
.ask-fix a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.foot { padding: 40px 0 56px; background: var(--bg-soft); color: var(--text-3); border-top: 1px solid var(--rule); font-size: 13px; }
.foot p + p { margin-top: 4px; }

/* Motion: one voice everywhere (fade and 12px rise, once). Each section only changes the order things arrive in. */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
/* Two-line titles arrive a line at a time; the block itself only fades so the lines carry the rise */
.js .head.reveal, .js .how-copy.reveal, .js .price-copy.reveal, .js .start-copy.reveal { transform: none; }
.js .ln { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * .12s); }
.in .ln { opacity: 1; transform: none; }
/* Search: the query is typed with the caret, then the three results come in order */
.serp-bar .caret { height: 1.05em; }
.serp.is-typed .serp-bar .caret { animation: blink 1.06s steps(1) infinite; }
.js .serp-list li { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.serp.is-typed .serp-list li { opacity: 1; transform: none; }
.serp.is-typed .serp-list li:nth-child(2) { transition-delay: .14s; }
.serp.is-typed .serp-list li:nth-child(3) { transition-delay: .28s; }
/* Tiles: pieces of each drawing arrive in reading order; the card news fans out from a stack */
.js .tile .sv { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.tile.in .sv { opacity: 1; transform: none; }
.tile.in .sv-1 { transition-delay: calc(var(--d, 0s) + .25s); }
.tile.in .sv-2 { transition-delay: calc(var(--d, 0s) + .37s); }
.tile.in .sv-3 { transition-delay: calc(var(--d, 0s) + .49s); }
.tile.in .sv-4 { transition-delay: calc(var(--d, 0s) + .61s); }
.tile.in .sv-5 { transition-delay: calc(var(--d, 0s) + .73s); }
.fan { transform-box: view-box; transform-origin: 200px 175px; transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0s) + .2s); }
.fan-l { transform: rotate(-11deg); }
.fan-r { transform: rotate(9deg); }
.js .tile:not(.in) .fan { transform: rotate(0deg) translateY(-8px); }
/* Chat: messages come in the order they were sent */
.js .chat > * { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .65s var(--ease); transition-delay: calc(.2s + var(--i, 0) * .45s); }
.chat.in > * { opacity: 1; transform: none; }
/* Price: facts follow the title, the bars rise after */
.js .price-facts li { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(.35s + var(--i, 0) * .12s); }
.price-copy.in .price-facts li { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .safe { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .how-art { max-width: 560px; }
  .start { grid-template-columns: 1fr; gap: 56px; max-width: 640px; margin-inline: auto; }
  :root { --band: 140px; --gap-head: 64px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tile-in { padding: 4px 20px 24px; }
  .tile h3 { font-size: 22px; }
  .tile p { font-size: 14px; }
  .how, .price { grid-template-columns: 1fr; gap: 48px; }
  .chat, .bars { max-width: 560px; }
}
@media (max-width: 640px) {
  :root { --band: 96px; --gap-head: 44px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .top-in { height: 56px; }
  .top-cta { height: 36px; padding: 0 14px; font-size: 14px; }
  .stage { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .tq { left: var(--mx); top: var(--my); font-size: 16px; }
  .tq.s { font-size: 14px; }
  .tw { left: var(--mx); top: var(--my); font-size: 15cqw; line-height: 1.04; }
  .br-m { display: inline; }
  .a3-type { font-size: 9.6cqw; }
  .hero-logo { font-size: 34px; gap: 10px; }
  .hero-logo img { width: 38px; height: 38px; }
  .hero-down { bottom: 18px; }
  .hero-media img { object-position: 74% 40%; }
  .hero h1 { font-size: 38px; line-height: 1.26; }
  .hero-name { font-size: 15px; }
  .chat-wide { padding: 20px 14px; }
  .safe li { padding: 28px 24px; }
  .safe strong { font-size: 19px; }
  .job { padding: 22px 20px; }
  .job span { font-size: 16px; }
  .head h2 { font-size: 30px; line-height: 1.36; }
  .head p { margin-top: 16px; font-size: 17px; }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { border-radius: 20px; }
  .tile h3 { font-size: 24px; }
  .serp { padding: 14px; border-radius: 20px; }
  .serp-bar { height: 52px; font-size: 16px; }
  .serp-list li { padding: 18px; }
  .ttl { font-size: 17px; }
  .cn span { font-size: 11px; padding: 7px; }
  .how-copy h2 { font-size: 30px; }
  .how-steps { margin-top: 32px; gap: 22px; }
  .how-steps strong { font-size: 19px; }
  .how-steps p { font-size: 15px; }
  .chat { padding: 20px 14px; border-radius: 20px; }
  .price-copy h2 { font-size: 40px; }
  .price-copy > p { font-size: 17px; }
  .price-copy .btn { width: 100%; }
  .bars { padding: 24px 18px 20px; border-radius: 20px; }
  .bars-plot { height: 200px; gap: 10px; }
  .start { grid-template-columns: 1fr; gap: 36px; }
  .start-copy { padding-top: 0; }
  .start-copy h2 { font-size: 30px; line-height: 1.36; }
  .start-copy > p { margin-top: 16px; font-size: 17px; }
  .start-points { margin-top: 24px; }
  .start-points li { font-size: 15px; }
  .ask-card { padding: 24px 20px; border-radius: 22px; }
  .ask-done-title { font-size: 24px; }
  .next { padding: 20px 18px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero-in > * { opacity: 1; transform: none; animation: none; }
  .js .stack .job, .js .how-art .sv { transition: none !important; }
  .js .ln, .js .serp-list li, .js .tile .sv, .fan, .js .chat > *, .js .price-facts li, .bar .more { transition: none !important; }
  .hero-video, .stage, .seq, .act3 { display: none; }
  .hero-logo { opacity: 1; transform: translate(-50%, -50%); transition: none; }
  .hero-shade { opacity: 1; transition: none; }
  .caret { animation: none !important; }
}

/* 2026-11-22 세 팀 전환 단추, 바닥글, 접수 기록. 메인 랜딩(홈페이지 팀)의 헤더와 같은 모양이다. */
.top-in { position: relative; }
.team-switch { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; padding: 4px; border-radius: 999px; background: rgb(25 31 40 / .06); transition: background-color .4s var(--ease); }
.team-switch a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; transition: color .25s ease; }
.team-switch a:hover { color: var(--text); }
.team-switch a[aria-current=page], .team-switch a.is-on { color: var(--text); }
.team-switch a[aria-current=page] { background: #fff; }
.team-switch.has-pill a[aria-current=page] { background: none; }
.team-switch a:focus-visible { outline: 2px solid var(--p); outline-offset: 2px; }
.ts-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .2s ease; }
.top.is-over .team-switch { background: rgb(255 255 255 / .16); }
.top.is-over .team-switch a { color: rgb(255 255 255 / .84); }
.top.is-over .team-switch a:hover { color: #fff; }
.top.is-over .team-switch a[aria-current=page], .top.is-over .team-switch a.is-on { color: var(--p-dark); }
/* 2026-11-23 콘텐츠 팀과 AI 팀 이름 아래에 NEW를 둔다(사용자). 글자색은 보라, 파랑, 분홍 그라데이션이 옆으로 흐르고, 움직임 줄이기 설정에서는 멈춘다. */
.team-switch a { flex-direction: column; gap: 2px; line-height: 1.2; }
.ts-new { display: block; font-size: 9px; line-height: 1; font-weight: 800; letter-spacing: .08em; color: transparent; background: linear-gradient(90deg, #6336ee, #2f7dff, #e0459c, #6336ee) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; animation: ts-wave 3.2s linear infinite; }
.top.is-over .ts-new { background-image: linear-gradient(90deg, #fff, #c9b8ff, #ffbfe0, #fff); }
.top.is-over .team-switch a.is-on .ts-new, .top.is-over .team-switch:not(.has-pill) a[aria-current=page] .ts-new { background-image: linear-gradient(90deg, #6336ee, #2f7dff, #e0459c, #6336ee); }
@keyframes ts-wave { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ts-new { animation: none; } }
.top-right { display: flex; align-items: center; gap: 28px; }
.top-link { font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .2s; }
.top-link:hover { color: var(--text); }
.top.is-over .top-link { color: rgb(255 255 255 / .86); }
.top.is-over .top-link:hover { color: #fff; }
.top-cta .cta-done { display: none; }
.is-inquired .top-cta { background: var(--p-soft); color: var(--p-dark); }
.is-inquired .top-cta .cta-default { display: none; }
.is-inquired .top-cta .cta-done { display: inline; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.foot .brand { color: var(--text); font-size: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--text-2); }
.foot-links a:hover { color: var(--text); }
.ask-again { margin-top: 14px; padding: 10px 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ask-again:hover { color: var(--text); }

/* English page (/ai/en/): English words run longer than Korean ones, so the hero title and header get their own sizes. */
@media (max-width: 380px) { html[lang=en] .team-switch a { padding: 0 4px; font-size: 13px; } }
html[lang=en] .hero h1 { font-size: 60px; }
@media (max-width: 1100px) { html[lang=en] .hero h1 { font-size: 52px; } }
@media (max-width: 640px) { html[lang=en] .hero h1 { font-size: 32px; } }

/* 2026-11-22 1024px 이하 헤더: 첫 줄은 로고, 블로그, 도입 문의(블로그는 모든 폭에서 보인다), 둘째 줄은 팀 전환 단추. */
@media (max-width: 1024px) {
  .top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 56px 48px; align-content: start; gap: 0; height: auto; padding-bottom: 8px; }
  .team-switch { position: relative; top: auto; left: auto; transform: none; grid-column: 1 / -1; grid-row: 2; justify-self: center; width: 100%; max-width: 520px; }
  .team-switch a { flex: 1; height: 40px; padding: 0 8px; font-size: 14px; }
  .top-right { grid-column: 2; grid-row: 1; gap: 18px; }
  .foot-links { gap: 0 22px; }
}
.foot-lang { margin-left: 14px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.foot-lang:hover { color: var(--text); }
p, li { text-wrap: pretty; }

/* 세 팀 페이지 사이 이동: 서로 미리 그려 두고(speculation rules), 페이지 전환은 화면 전환(view transition)으로 잇는다.
   전환 단추는 제자리에 머물고 나머지가 겹쳐 바뀐다. 미리 그리는 동안(html.is-pre) 등장 애니메이션은 멈춰 있다가 열릴 때 재생된다. */
@view-transition { navigation: auto; }
.team-switch { view-transition-name: team-switch; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: ease; }
.is-pre *, .is-pre *::before, .is-pre *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* 첫 화면 제목 타이핑: 고스트가 최종 자리를 잡고, 그 위에 한 글자씩 쓴다(자모 조합, 둘째 줄 고쳐 쓰기). */
.hero h1[data-script] { display: grid; }
.hero h1 .ht-ghost, .hero h1 .ht-live { grid-area: 1 / 1; }
.ht-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero h1 .ht-live { display: none; }
.hero h1.is-writing .ht-ghost { visibility: hidden; }
.hero h1.is-writing .ht-live { display: block; }
.hero h1 .caret.is-typing { animation: none; }

/* 다른 두 팀 카드(메인 랜딩의 '리핍에 맡길 수 있어요'와 같은 모양): 그 팀 첫 화면의 그림 위에 그 팀의 문장을 한 글자씩 쓴다. */
.teams-band .team-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: var(--gap-head); }
.team-link { display: block; color: var(--text); }
.team-link:focus-visible { outline: none; }
.team-link:focus-visible .tl-media { outline: 2px solid var(--p); outline-offset: 4px; }
.tl-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px; background: #2a2833; }
.tl-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tl-media::after { content: ""; position: absolute; inset: 0; background: rgb(14 12 24 / .44); transition: background-color .4s var(--ease); }
.team-link.is-home .tl-media::after { background: rgb(14 12 24 / .1); }
.team-link:hover .tl-media::after { background: rgb(14 12 24 / .54); }
.team-link.is-home:hover .tl-media::after { background: rgb(14 12 24 / .2); }
.tl-line { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; padding: 0 36px; color: #fff; font-size: 34px; line-height: 1.38; font-weight: 700; letter-spacing: -.035em; text-align: center; }
.tl-ghost, .tl-typed { grid-area: 1 / 1; }
.tl-ghost { visibility: hidden; }
.tl-typed.is-typing::after, .tl-typed.is-done::after { content: ""; display: inline-block; width: 3px; height: .92em; margin-left: 5px; vertical-align: -.1em; background: #fff; }
.tl-typed.is-done::after { animation: tl-caret 1.05s steps(1) infinite; }
@keyframes tl-caret { 50% { opacity: 0; } }
.tl-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px 0; }
.tl-text { display: flex; flex-direction: column; gap: 6px; }
.tl-name { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.tl-desc { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.tl-go { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-panel); transition: background-color .3s var(--ease); }
.tl-go svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .3s var(--ease); }
.team-link:hover .tl-go { background: var(--p); }
.team-link:hover .tl-go svg { stroke: #fff; transform: translateX(2px); }
html[lang=en] .tl-line { font-size: 30px; }
@media (max-width: 760px) {
  .teams-band .team-links { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .tl-media { border-radius: 22px; }
  .tl-line, html[lang=en] .tl-line { padding: 0 24px; font-size: 26px; }
  .tl-foot { padding-top: 18px; }
  .tl-name { font-size: 20px; }
  .tl-desc { font-size: 15px; }
  .tl-go { width: 44px; height: 44px; }
}
/* 2026-11-22 사용자: 오른쪽 위는 '리핍 블로그' 링크만 둔다(도입 문의 단추 없음). */
.top-link { font-weight: 600; }
/* 2026-11-22 사용자: AI 팀 페이지에서는 일하는 주체를 '리핍 AI'로 쓰고, 첫 화면 제목의 'AI'는 보라색으로 둔다. */
.hero .ai-word { color: #8f74ff; font-weight: inherit; }
