.ai-feature {
  color: #f6f6fa;
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background-color: #101014;
  background-image: radial-gradient(ellipse at 78% 46%, #594b7738, transparent 50%),
    linear-gradient(#87819510 1px, transparent 1px), linear-gradient(90deg, #87819510 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.ai-layout { display: grid; grid-template-columns: 1.12fr minmax(285px,.88fr); gap: clamp(26px,5vw,82px); max-width: 1050px; align-items: center; margin: auto; }
.ai-intro .ai-kicker { color: #c2b6fc; font-size: 13px; margin-bottom: 18px; }
.ai-intro h2 { font-size: clamp(32px,4vw,57px); line-height: 1.21; letter-spacing: -.065em; }
.ai-intro .ai-lead { color: #ede9fa; font-size: clamp(18px,2vw,26px); font-weight: 600; margin: 22px 0 15px; }
.ai-intro .ai-detail { color: #bfbcc9; font-size: 15px; line-height: 1.9; max-width: 40ch; }
.ai-demo { width: min(100%, 360px); margin: 0 auto; scroll-margin-top: 12px; }
.ai-switch { display: flex; justify-content: center; gap: 3px; padding: 3px; margin: 0 auto 14px; width: fit-content; background: #242329; border: 1px solid #424048; border-radius: 24px; }
.ai-switch button,.ai-actions button { font: inherit; cursor: pointer; border: 0; }
.ai-switch button { font-size: 12px; border-radius: 20px; padding: 9px 14px; color: #c8c4d0; background: transparent; }
.ai-switch button[aria-pressed="true"] { background: #f5f2fb; color: #1e172b; font-weight: 650; }
.ai-feature button:focus-visible { outline: 2px solid #a792ff; outline-offset: 2px; }
.ai-phone { padding: 12px 8px 8px; border: 4px solid #353439; border-radius: 32px; box-shadow: 0 0 0 1px #77747f,0 18px 60px #0007; background: #1c1b20; }
.ai-speaker,.ai-home { width: 38px; height: 4px; margin: 0 auto 10px; border-radius: 8px; background: #66636f; }
.ai-home { width: 68px; height: 3px; margin: 10px auto 1px; }
.ai-screen { position: relative; color: #222; background: #f8f6f1; border-radius: 11px; overflow: hidden; isolation: isolate; }
.ai-ready .ai-screen { display: grid; }
.ai-ready .ai-scene { grid-area: 1 / 1; min-width: 0; }
.edit-scene { background: #e3e1e9; padding: 9px; }
.ai-input { display: flex; align-items: center; gap: 9px; padding: 8px; border: 1px solid #d2ced9; border-radius: 7px; background: #f6f5fa; font-size: 11px; line-height: 1.5; margin-bottom: 9px; }
.ai-input img { width: 49px; height: 49px; border-radius: 4px; object-fit: cover; flex: none; }
.ai-input small { color: #655986; font-size: 10px; font-weight: 650; }
.ai-page { border: 1px solid #d1c9bd; background: #fffdf8; color: #302b25; box-shadow: 0 2px 9px #0001; }
.cafe-brand { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; }
.cafe-brand b,.cafe-copy h3 { font-family: "Nanum Myeongjo","AppleMyungjo",Georgia,serif; }
.cafe-brand b { font-size: 18px; }
.cafe-brand span,.cafe-menu small { color: #736753; font-size: 10px; }
.cafe-hero,.menu-photo { position: relative; overflow: hidden; background: repeating-linear-gradient(135deg,#e6e2d9,#e6e2d9 1px,#f2efe8 1px,#f2efe8 7px); }
.cafe-hero { aspect-ratio: 1.9; }
.cafe-hero img,.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.cafe-hero img { position: absolute; inset: 0; object-position: 50% 55%; }
.cafe-copy { margin: 10px; padding: 5px 3px; }
.cafe-copy h3 { margin: 0 0 6px; font-size: clamp(19px,2.6vw,25px); line-height: 1.35; letter-spacing: -.07em; }
.cafe-copy p,.gem-answer p { font-size: 13px; line-height: 1.75; }
.ai-page [data-write] { display: block; }
.cafe-menu { display: flex; align-items: center; gap: 11px; margin: 9px 10px 13px; border-top: 1px solid #ddd6c9; padding-top: 9px; }
.menu-photo { width: 55px; aspect-ratio: 1.12; flex: none; }
.cafe-menu strong { font-size: 14px; }
.search-scene { display: flex; flex-direction: column; padding: 18px 14px; background: linear-gradient(160deg,#fff 40%,#f2f0fa); }
.gem-head { display: flex; gap: 9px; align-items: baseline; color: #383341; margin-bottom: 22px; }
.gem-head b { font-size: 19px; letter-spacing: -.055em; }
.gem-head small,.gem-caption { color: #676270; font-size: 10px; }
.gem-query { align-self: flex-end; inline-size: min(90%, 18rem); background: #e9e7f5; border-radius: 15px 15px 3px 15px; font-size: 14px; line-height: 1.65; padding: 10px 12px; }
.gem-query > span { display: block; }
.gem-answer { margin-top: 17px; }
.gem-star { display: block; width: fit-content; color: #7460cc; font-size: 23px; line-height: 1; }
.gem-answer h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.04em; margin: 7px 0; }
.gem-source { display: flex; align-items: center; gap: 9px; margin: 14px 0; padding: 7px; background: #fff; border: 1px solid #dcd9e3; border-radius: 9px; color: #302b36; }
.gem-source img { width: 54px; height: 48px; object-fit: cover; border-radius: 5px; }
.gem-source small,.gem-source b { display: block; font-size: 11px; }
.gem-source b { font-size: 13px; }.gem-source i { margin-left: auto; padding-right: 4px; }
.gem-caption { margin-top: auto; }
.selection,.drag-photo,.ai-cursor { position: absolute; top: 0; left: 0; pointer-events: none; opacity: 0; z-index: 3; }
.selection { --tool: #a078ff; border: 1px solid var(--tool); background: #ae79ff11; }
.selection[data-box="copy"] { --tool: #0088b4; background: #30b6f70c; }
.selection[data-box="menu"] { --tool: #af6719; background: #f9a63c10; }
.selection i { position: absolute; width: 6px; height: 6px; border: 1px solid var(--tool); background: white; transform: translate(-50%,-50%); }
.selection i:nth-child(2),.selection i:nth-child(4) { left: 100%; }
.selection i:nth-child(n+3) { top: 100%; }
.drag-photo { width: 71px; height: 49px; border: 2px solid white; border-radius: 4px; box-shadow: 0 4px 14px #25203259; object-fit: cover; transform-origin: 12px 12px; }
.ai-cursor { --pen: #c6a5ff; z-index: 4; filter: drop-shadow(0 1px 2px #231f3360); }
.ai-cursor[data-pen="copy"] { --pen: #77d7ef; }.ai-cursor[data-pen="layout"] { --pen: #ffca7c; }
.ai-cursor::before { content: ''; position: absolute; width: 13px; height: 16px; background: var(--pen); clip-path: polygon(0 0,100% 55%,56% 62%,33% 100%); }
.ai-cursor b { position: absolute; top: 10px; left: 7px; padding: 2px 5px; border-radius: 2px 5px 5px; background: var(--pen); color: #1e1926; font: 650 10px/1.4 -apple-system,sans-serif; white-space: nowrap; }
.ai-cursor.near-edge b { left: auto; right: 1px; }
.ai-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 8px; margin-top: 6px; color: #c4becf; font-size: 11px; }
.ai-actions button { min-height: 44px; background: none; color: #eee9f6; padding: 3px 5px; }
.ai-feature [hidden] { display: none; }
.ai-process-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width:761px) { #next > .real-grid,#next .more-works .real-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { .ai-layout { grid-template-columns: minmax(0,1fr); gap: 24px; } .ai-intro .ai-detail { font-size: 14px; } .ai-intro .ai-lead { margin: 14px 0 10px; } }
@media (prefers-reduced-motion:reduce) { .selection,.drag-photo,.ai-cursor { display: none; } }
