/* 홈(index.html)·무료 자료(free.html) 전용 — 공통 토큰·버튼·섹션은 index.css */

/* Hero */
.home-hero { min-height: auto; padding-bottom: 40px; }
.home-hero .hero-grid { min-height: 640px; }
.home-hero h1 { font-size: clamp(42px, 5vw, 64px); letter-spacing: -3px; line-height: 1.16; }
.home-hero .hero-lead { font-size: 17px; }
.loop-card { position: relative; padding: 26px 24px 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(14,18,34,.92); box-shadow: 0 50px 100px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter: blur(20px); }
.loop-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.loop-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--gradient); color: #fff; font: 800 17px Manrope, sans-serif; }
.loop-head small { display: block; color: #7d88a3; font: 700 10px Manrope, sans-serif; letter-spacing: 1.6px; }
.loop-head strong { font-size: 17px; }
.loop-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.loop-steps li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.loop-steps li > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: rgba(124,92,255,.14); color: var(--purple-light); font: 800 12px Manrope, sans-serif; }
.loop-steps li:last-child { border-color: rgba(139,108,255,.35); background: linear-gradient(100deg, rgba(124,92,255,.14), rgba(239,77,168,.06)); }
.loop-steps b { display: block; font-size: 15px; }
.loop-steps p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.loop-back { margin-top: 12px; padding: 11px; border: 1px dashed rgba(139,108,255,.35); border-radius: 13px; color: var(--purple-light); font-size: 13px; font-weight: 700; text-align: center; }
.home-hero .floating-one { right: -18px; top: -22px; left: auto; bottom: auto; }
.home-hero .floating-card b { font-size: 12px; }

/* Story */
.section-story { background: linear-gradient(180deg, var(--bg), #0b0f1d); }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.profile-card { position: sticky; top: 110px; padding: 30px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.profile-card h2 { margin: 14px 0 6px; font-size: clamp(34px, 4vw, 46px); line-height: 1.2; letter-spacing: -2px; }
.profile-role { margin: 0; color: var(--muted); font-size: 14px; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 20px; }
.profile-stats div { padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.profile-stats b { display: block; font: 800 24px Manrope, "Noto Sans KR", sans-serif; letter-spacing: -.8px; }
.profile-stats span { color: var(--muted); font-size: 12px; }
.profile-career { display: grid; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.profile-career li::before { content: "·"; margin-right: 7px; color: var(--purple-light); font-weight: 800; }
.story-copy .story-lead { margin: 0 0 26px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.4; letter-spacing: -1.2px; }
.story-copy p { margin: 0 0 20px; color: #c3c9da; font-size: 17px; line-height: 1.9; }
.change-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0 0; }
.change-card { padding: 22px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.change-card span { color: var(--purple-light); font: 800 11px Manrope, sans-serif; letter-spacing: 1px; }
.change-card h3 { margin: 12px 0 6px; font-size: 17px; }
.change-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Why I share */
.section-share { padding-top: 40px; }
.share-card { position: relative; overflow: hidden; padding: 64px 56px; border: 1px solid rgba(139,108,255,.26); border-radius: 32px; background: radial-gradient(circle at 85% 0%, rgba(124,92,255,.22), transparent 45%), linear-gradient(145deg, #11162a, #0c1020); }
.share-card h2 { margin: 14px 0 22px; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.25; letter-spacing: -2.2px; }
.share-quote { max-width: 820px; margin: 0; padding-left: 22px; border-left: 3px solid; border-image: var(--gradient) 1; color: #d9ddea; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.9; }
.share-quote p { margin: 0 0 12px; }
.share-note { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.share-note span { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 100px; color: #b9c0d3; font-size: 13px; }

/* Products */
.section-products { background: #0a0e1a; }
.prod-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.prod-card { display: flex; flex-direction: column; padding: 34px 32px 30px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); transition: transform .25s, border-color .25s; }
.prod-card:hover { transform: translateY(-5px); border-color: rgba(139,108,255,.35); }
.prod-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(124,92,255,.13); font-size: 26px; }
.prod-card.rocket .prod-icon { background: rgba(255,184,107,.13); }
.prod-kicker { margin-top: 22px; color: var(--purple-light); font: 800 11px Manrope, sans-serif; letter-spacing: 1.5px; }
.prod-card.rocket .prod-kicker { color: #ffb86b; }
.prod-card h3 { margin: 8px 0 10px; font-size: 30px; letter-spacing: -1.2px; }
.prod-card > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chip-list li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 100px; color: #c0c7d8; font-size: 12.5px; }
.prod-price { margin: 24px 0 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.prod-price b { color: var(--text); font: 800 24px Manrope, "Noto Sans KR", sans-serif; letter-spacing: -.6px; margin-right: 4px; }
.prod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; }
.school-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 18px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.02); text-decoration: none; transition: border-color .25s, transform .25s; }
.school-row:hover { border-color: rgba(139,108,255,.35); transform: translateX(4px); }
.school-row > span { font-size: 28px; }
.school-row b { display: block; font-size: 17px; }
.school-row p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.school-row > i { color: var(--purple-light); font-style: normal; font-weight: 800; }

/* Free tools */
.section-free { background: linear-gradient(180deg, #0a0e1a, var(--bg)); }
.free-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.free-grid.wide { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.free-card { display: flex; flex-direction: column; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: transform .25s, border-color .25s; scroll-margin-top: 100px; }
.free-card:hover { transform: translateY(-4px); border-color: rgba(60,230,160,.3); }
.free-card:target { border-color: rgba(60,230,160,.55); box-shadow: 0 0 0 4px rgba(60,230,160,.08); }
.free-top { display: flex; align-items: center; justify-content: space-between; }
.free-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(60,230,160,.1); font-size: 22px; }
.free-badge { padding: 5px 10px; border-radius: 100px; background: rgba(60,230,160,.12); color: var(--green); font-size: 11.5px; font-weight: 800; }
.free-card h3 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -.5px; }
.free-card > p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.free-card ul { display: grid; gap: 7px; margin: 16px 0 18px; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.free-card li { color: #b7bfd1; font-size: 13px; line-height: 1.5; }
.free-card li::before { content: "✓"; margin-right: 8px; color: var(--green); }
.free-card > .free-meta { margin: auto 0 12px; color: #6f7a93; font-size: 12px; }
.free-grid.wide .free-card { padding: 30px 28px 26px; }
.free-grid.wide .free-card h3 { font-size: 22px; }
.free-grid.wide .free-card > p { font-size: 15px; }
.free-grid.wide .free-card li { font-size: 14px; }
.free-badge.soon { background: rgba(255,184,107,.14); color: #ffb86b; }
[data-theme="light"] .free-badge.soon { color: #c77a1f; }
.button-green { background: linear-gradient(120deg, #3ce6a0, #31d7e8); color: #06140f; box-shadow: 0 12px 30px rgba(60,230,160,.18); }
.free-more { display: flex; justify-content: center; margin-top: 30px; }
.free-group-head { margin: 10px 0 22px; }
.free-group-head + .free-grid { margin-bottom: 20px; }
.free-grid + .free-group-head { margin-top: 64px; }
.free-group-head h2 { margin: 10px 0 6px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -1px; }
.free-group-head p { margin: 0; color: var(--muted); font-size: 15px; }
.soon-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin-top: 18px; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: 20px; }
.soon-card > span { font-size: 26px; }
.soon-card b { display: block; font-size: 16px; }
.soon-card p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }

/* free.html */
.free-hero { min-height: auto; padding-bottom: 70px; }
.free-hero .hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.free-hero .hero-lead { margin-inline: auto; }
.free-hero .hero-proof { justify-content: center; }
.free-hero h1 { font-size: clamp(40px, 5.4vw, 66px); letter-spacing: -3px; line-height: 1.17; }
.free-hero .eyebrow { color: var(--green); border-color: rgba(60,230,160,.25); background: rgba(60,230,160,.07); }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.install-step { padding: 26px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.install-step span { color: var(--green); font: 800 12px Manrope, sans-serif; letter-spacing: 1px; }
.install-step h3 { margin: 12px 0 8px; font-size: 18px; }
.install-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.install-step code { padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.07); font-size: 13px; }
.use-note { margin-top: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.use-note b { color: var(--text); }

/* Download modal */
.fm { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; padding: 16px; background: rgba(3,5,12,.68); backdrop-filter: blur(6px); }
.fm.open { display: grid; }
.fm-dialog { position: relative; width: min(470px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 28px 26px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); }
.fm-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.fm-close:hover { color: var(--text); border-color: var(--line-strong); }
.fm small.fm-kicker { color: var(--green); font: 800 11px Manrope, sans-serif; letter-spacing: 1.5px; }
.fm h2 { margin: 8px 40px 6px 0; font-size: 22px; line-height: 1.35; letter-spacing: -.6px; }
.fm-sub { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.fm-field { display: grid; gap: 6px; margin-bottom: 13px; }
.fm-field label { font-size: 13px; font-weight: 700; }
.fm-field label em { color: #f36d83; font-style: normal; }
.fm-field input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,.03); color: var(--text); font-size: 15px; }
.fm-field input:focus { outline: none; border-color: rgba(139,108,255,.7); box-shadow: 0 0 0 3px rgba(139,108,255,.18); }
.fm-check { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.fm-check input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 auto; accent-color: #7c5cff; }
.fm-terms { margin: 6px 0 0 26px; font-size: 12.5px; color: var(--muted); }
.fm-terms summary { cursor: pointer; width: max-content; text-decoration: underline; }
.fm-terms dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 8px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.fm-terms dt { font-weight: 700; color: var(--text); }
.fm-terms dd { margin: 0; }
.fm-error { min-height: 20px; margin: 12px 0 4px; color: #f36d83; font-size: 13.5px; }
.fm .button { width: 100%; margin-top: 4px; cursor: pointer; }
.fm .button[disabled] { opacity: .6; cursor: wait; transform: none; }
.fm-link { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.fm-done ol { margin: 4px 0 18px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.fm-done ol b { color: var(--text); }
.fm-done code { padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.08); }
.fm-member { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }

/* Book */
.section-book { background: linear-gradient(180deg, #0a0e1a, #0b0f1d); overflow: hidden; }
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.book-visual { position: relative; min-height: 460px; display: grid; place-items: center; perspective: 1400px; }
.book-visual::before { content: ""; position: absolute; width: 72%; height: 62%; border-radius: 50%; background: var(--gradient); filter: blur(90px); opacity: .24; }
.book-3d { position: relative; width: 270px; aspect-ratio: 3 / 4.3; transform: rotateY(-16deg) rotateX(3deg); transition: transform .5s cubic-bezier(.22,.8,.2,1); }
.book-visual:hover .book-3d { transform: rotateY(-6deg) rotateX(1deg); }
.book-3d::after { content: ""; position: absolute; top: 6px; bottom: 6px; right: -13px; width: 14px; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(to bottom, #f4f1e8 0 2px, #d9d4c6 2px 3px); box-shadow: 8px 10px 30px rgba(0,0,0,.35); }
.book-front { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: 34px 26px 24px 34px; overflow: hidden; border-radius: 4px 14px 14px 4px; background: radial-gradient(circle at 85% 8%, rgba(240,82,165,.6), transparent 42%), radial-gradient(circle at 0% 100%, rgba(49,215,232,.25), transparent 45%), linear-gradient(160deg, #2c2170 0%, #161b3d 55%, #0c0f22 100%); color: #fff; box-shadow: inset 7px 0 12px rgba(0,0,0,.35), 30px 40px 70px rgba(0,0,0,.45); }
.book-front::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.14); }
.book-front small { color: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; letter-spacing: -.2px; }
.book-front strong { margin-top: 16px; font-size: 68px; font-weight: 900; line-height: 1.02; letter-spacing: -4px; }
.book-front em { align-self: flex-start; margin-top: 18px; padding: 6px 12px; border-radius: 100px; background: rgba(255,255,255,.12); font-size: 12.5px; font-style: normal; font-weight: 800; }
.book-author { margin-top: auto; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
.book-ribbon { position: absolute; right: -44px; top: 22px; width: 170px; padding: 6px 0; transform: rotate(38deg); background: #ffb86b; color: #1a1206; font-size: 11.5px; font-weight: 900; text-align: center; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.book-copy h2 { margin: 16px 0 18px; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.25; letter-spacing: -2.2px; }
.book-lead { margin: 0 0 26px; color: #c3c9da; font-size: 16.5px; line-height: 1.85; }
.book-tentative { color: var(--muted); font-size: 13.5px; }
.book-parts { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.book-parts li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.book-parts li > span { padding: 6px 10px; border-radius: 9px; background: rgba(124,92,255,.14); color: var(--purple-light); font: 800 11px Manrope, sans-serif; letter-spacing: .5px; white-space: nowrap; }
.book-parts b { display: block; font-size: 16px; }
.book-parts p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.book-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button.is-soon { opacity: .55; cursor: not-allowed; pointer-events: none; box-shadow: none; filter: grayscale(.35); }
.book-actions button { cursor: pointer; }
.book-status { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.book-status .status-dot { background: #ffb86b; box-shadow: 0 0 0 5px rgba(255,184,107,.12); }

/* Community */
.section-community { padding: 40px 0 20px; }
.community-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 38px 40px; border: 1px solid rgba(254,229,0,.28); border-radius: 28px; background: radial-gradient(circle at 0% 0%, rgba(254,229,0,.12), transparent 45%), var(--surface); }
.community-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; background: #fee500; font-size: 36px; }
.community-copy h2 { margin: 10px 0 10px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.28; letter-spacing: -1.4px; }
.community-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.kakao-button { background: #fee500; color: #191919; box-shadow: 0 12px 30px rgba(254,229,0,.18); }
.kakao-button:hover { box-shadow: 0 16px 36px rgba(254,229,0,.28); }

/* Product builder & consulting */
.profile-title { margin: 14px 0 8px; font-size: 19px; font-weight: 900; letter-spacing: -.5px; }
.profile-title small { display: block; margin-top: 2px; color: var(--purple-light); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.profile-card .profile-role { line-height: 1.7; }
.profile-sub { margin: 10px 0 0; color: #7d88a3; font-size: 12.5px; }
.section-consult { background: linear-gradient(180deg, var(--bg), #0b0f1d); }
.builder-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 34px; padding: 0; list-style: none; }
.builder-steps li { position: relative; padding: 22px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.builder-steps li > span { color: var(--purple-light); font: 800 11px Manrope, sans-serif; letter-spacing: 1px; }
.builder-steps b { display: block; margin: 10px 0 6px; font-size: 17px; }
.builder-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.builder-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; z-index: 1; transform: translateY(-50%); color: var(--purple-light); font-weight: 800; }
.consult-grid .price-card > p { font-size: 13px; line-height: 1.6; }
.consult-grid .price-card li { font-size: 12.5px; line-height: 1.55; }
.consult-grid .price b { font-size: 32px; }
.pricing-note.credit { border-color: rgba(60,230,160,.35); background: rgba(60,230,160,.05); }
.pricing-note.credit > span { border-color: rgba(60,230,160,.5); color: var(--green); }
.pricing-note.credit p { font-size: 13px; }
.pricing-note.credit b { color: var(--green); }

/* Light theme */
[data-theme="light"] .section-consult { background: linear-gradient(180deg,#f7f8fc,#eef1f8); }
[data-theme="light"] .builder-steps li { background: #fff; box-shadow: 0 12px 35px rgba(45,52,89,.06); }
[data-theme="light"] .section-book { background: linear-gradient(180deg,#eef1f8,#f7f8fc); }
[data-theme="light"] .book-lead { color: #4c5670; }
[data-theme="light"] .book-parts li { background: #fff; box-shadow: 0 12px 35px rgba(45,52,89,.06); }
[data-theme="light"] .book-visual::before { opacity: .16; }
[data-theme="light"] .community-card { background: radial-gradient(circle at 0% 0%, rgba(254,229,0,.22), transparent 45%), #fff; box-shadow: 0 12px 35px rgba(45,52,89,.06); }
[data-theme="light"] .loop-card { border-color: rgba(31,38,67,.11); background: #fff; box-shadow: 0 30px 70px rgba(45,52,89,.12); }
[data-theme="light"] .loop-steps li { background: #f6f7fc; }
[data-theme="light"] .home-hero .floating-card { border-color: rgba(31,38,67,.11); background: rgba(255,255,255,.95); box-shadow: 0 15px 35px rgba(45,52,89,.12); }
[data-theme="light"] .section-story, [data-theme="light"] .section-free { background: linear-gradient(180deg,#f7f8fc,#eef1f8); }
[data-theme="light"] .section-products { background: #eef1f8; }
[data-theme="light"] .profile-card, [data-theme="light"] .change-card, [data-theme="light"] .prod-card, [data-theme="light"] .free-card, [data-theme="light"] .install-step { background: #fff; box-shadow: 0 12px 35px rgba(45,52,89,.06); }
[data-theme="light"] .story-copy p { color: #4c5670; }
[data-theme="light"] .chip-list li, [data-theme="light"] .free-card li { color: #4c5670; }
[data-theme="light"] .share-card { color: #fff; }
[data-theme="light"] .school-row { background: #fff; }
[data-theme="light"] .install-step code, [data-theme="light"] .fm-done code { background: rgba(23,29,52,.07); }
[data-theme="light"] .fm-field input { background: #fff; }

@media (max-width: 1080px) {
    .builder-steps { grid-template-columns: repeat(2, 1fr); }
    .builder-steps li:nth-child(2)::after { display: none; }
    .book-grid { grid-template-columns: 1fr; gap: 30px; }
    .book-visual { min-height: 400px; }
    .community-card { grid-template-columns: auto 1fr; }
    .community-card .kakao-button { grid-column: 1 / -1; justify-self: start; }
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .profile-card { position: static; }
    .free-grid { grid-template-columns: repeat(2, 1fr); }
    .home-hero .floating-one { right: 0; }
}
@media (max-width: 760px) {
    .builder-steps { grid-template-columns: 1fr; }
    .builder-steps li::after { display: none; }
    .book-visual { min-height: 340px; }
    .book-3d { width: 210px; }
    .book-front { padding: 26px 20px 18px 28px; }
    .book-front strong { font-size: 52px; letter-spacing: -3px; }
    .book-lead { font-size: 15px; }
    .book-parts li { grid-template-columns: 1fr; gap: 8px; }
    .book-parts li > span { justify-self: start; }
    .book-actions { flex-direction: column; }
    .book-actions .button { width: 100%; }
    .community-card { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; }
    .community-icon { width: 60px; height: 60px; font-size: 28px; border-radius: 18px; }
    .community-card .kakao-button { width: 100%; }
    .home-hero h1 { font-size: clamp(34px, 9.6vw, 44px); letter-spacing: -2px; }
    .home-hero .hero-lead { font-size: 15px; }
    .loop-card { padding: 20px 16px 16px; }
    .home-hero .floating-card { display: none; }
    .story-copy p { font-size: 15.5px; }
    .change-grid, .prod-grid, .free-grid, .free-grid.wide, .install-steps { grid-template-columns: 1fr; }
    .share-card { padding: 40px 22px; border-radius: 24px; }
    .prod-card { padding: 28px 22px 24px; }
    .prod-card h3 { font-size: 26px; }
    .school-row { grid-template-columns: auto 1fr; padding: 18px; }
    .school-row > i { display: none; }
    .free-hero h1 { font-size: clamp(32px, 9vw, 42px); letter-spacing: -1.8px; }
    .fm-dialog { padding: 26px 20px 22px; }
}
