/* saas-design · marketing.css — 랜딩·가격·소개 같은 "앞면" 페이지. saas.css 토큰 위에서 동작(함께 로드). 앱 화면에는 쓰지 않는다. */
body.m { background: var(--surface); }
.m-wrap { width: min(1160px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.m-sec { padding-block: clamp(64px, 9vw, 120px); } .m-sec.alt { background: var(--bg); border-block: 1px solid var(--line); }
.m-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .01em; color: var(--brand-ink); }
.m-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); }
.m-h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.12; letter-spacing: -.045em; font-weight: 750; text-wrap: balance; }
.m-h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.2; letter-spacing: -.035em; font-weight: 720; text-wrap: balance; }
.m-lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--ink-3); max-width: 60ch; text-wrap: pretty; }
.m-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); } .m-head.center { justify-items: center; text-align: center; } .m-head.center .m-lead { margin-inline: auto; }
.m-grad { background: linear-gradient(100deg, var(--brand-ink), color-mix(in oklab, var(--brand) 55%, #e8458b)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 상단 내비 */
.m-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--surface) 80%, transparent); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; } .m-nav.is-stuck { border-bottom-color: var(--line); }
.m-nav .m-wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.m-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; letter-spacing: -.03em; color: var(--ink); text-decoration: none !important; }
.m-links { display: flex; gap: 4px; margin-left: 8px; } .m-links a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 550; font-size: 14.5px; text-decoration: none; } .m-links a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.m-nav .m-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 800px) { .m-links { display: none; } }

/* 히어로 */
.m-hero { position: relative; overflow: hidden; padding-top: clamp(48px, 8vw, 96px); text-align: center; }
.m-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 640px; background: radial-gradient(50% 60% at 50% 0%, color-mix(in oklab, var(--brand) 22%, transparent), transparent 70%), radial-gradient(30% 40% at 85% 10%, color-mix(in oklab, #e8458b 12%, transparent), transparent 70%); pointer-events: none; }
.m-hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 520px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(60% 80% at 50% 0%, #000 20%, transparent 75%); opacity: .55; pointer-events: none; }
.m-hero > .m-wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 24px; }
.m-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--sh-1); text-decoration: none !important; } .m-pill b { padding: 2px 8px; border-radius: 99px; background: var(--brand-soft-2); color: var(--brand-ink); font-size: 12px; }
.m-hero .row { justify-content: center; flex-wrap: wrap; }
.m-note { font-size: 13px; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; } .m-note span { display: inline-flex; align-items: center; gap: 6px; } .m-note .i { width: 15px; height: 15px; color: var(--ok); }

/* 제품 목업(앱 화면을 축소해 보여준다 — 실제 컴포넌트 클래스 재사용, 클릭 불가) */
.mock { margin-top: clamp(32px, 5vw, 56px); width: min(1060px, 100%); border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg); box-shadow: var(--sh-3), 0 0 0 8px color-mix(in oklab, var(--ink) 4%, transparent); overflow: hidden; text-align: left; pointer-events: none; user-select: none; }
.mock-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); } .mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); } .mock-bar span { margin-left: 12px; font-size: 12px; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 40px 2px 10px; }
.mock-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 380px; } .mock .sb { position: static; height: auto; --sb-w: 188px; border-right: 1px solid var(--line); } .mock .page { padding: 20px 22px; max-width: none; } .mock .page-h { margin-bottom: 14px; } .mock .page-h h1 { font-size: 20px; } .mock .stat { padding: 12px 14px; } .mock .stat-v { font-size: 20px; }
@media (max-width: 760px) { .mock-body { grid-template-columns: 1fr; } .mock .sb { display: none; } .mock .cols-4 { grid-template-columns: repeat(2, 1fr); } }

/* 신뢰 띠 */
.m-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px clamp(24px, 5vw, 56px); color: var(--ink-4); font-weight: 750; font-size: 19px; letter-spacing: -.03em; } .m-logos span { display: inline-flex; align-items: center; gap: 8px; filter: grayscale(1); opacity: .85; } .m-logos .i { width: 22px; height: 22px; }

/* 기능 벤토 */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > article { grid-column: span 2; display: grid; align-content: start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s; } .bento > article:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); }
.bento > article.w3 { grid-column: span 3; } .bento > article.w4 { grid-column: span 4; }
.bento h3 { font-size: 19px; letter-spacing: -.025em; } .bento p { color: var(--ink-3); font-size: 15px; line-height: 1.6; }
.bento .ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand-ink); border: 1px solid var(--brand-line); margin-bottom: 6px; } .bento .ic .i { width: 20px; height: 20px; }
.bento .viz { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 14px; pointer-events: none; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento > article, .bento > article.w3, .bento > article.w4 { grid-column: span 2; } }

/* 단계 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; } .step { position: relative; display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--line); } .step::before { counter-increment: s; content: "0" counter(s); font: 700 13px var(--mono); color: var(--brand-ink); } .step.is-on { border-top-color: var(--brand); }
.step h3 { font-size: 20px; letter-spacing: -.025em; } .step p { color: var(--ink-3); } @media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* 가격 */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price { display: grid; align-content: start; gap: 18px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); } .price.is-pop { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--sh-2); position: relative; }
.price .tag { position: absolute; top: -12px; left: 24px; padding: 3px 11px; border-radius: 99px; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 700; }
.price h3 { font-size: 17px; } .price .amt { display: flex; align-items: baseline; gap: 6px; } .price .amt b { font-size: 36px; letter-spacing: -.04em; font-weight: 750; font-variant-numeric: tabular-nums; } .price .amt span { color: var(--ink-3); font-size: 14px; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; } .price li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); } .price li .i { width: 17px; height: 17px; margin-top: 2px; color: var(--brand); } .price li.off { color: var(--ink-4); } .price li.off .i { color: var(--ink-4); }
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

/* FAQ · CTA · 푸터 */
.faq { max-width: 760px; margin-inline: auto; display: grid; } .faq details { border-bottom: 1px solid var(--line); padding: 4px 0; } .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 17px; letter-spacing: -.02em; } .faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; opacity: .5; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s; } .faq details[open] summary::after { transform: rotate(45deg); } .faq details p { color: var(--ink-3); padding: 0 32px 18px 0; line-height: 1.7; }
.m-cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 80px) 24px; border-radius: 28px; color: var(--on-brand); background: radial-gradient(90% 120% at 100% 0%, color-mix(in oklab, var(--brand) 55%, #fff), transparent 60%), linear-gradient(150deg, color-mix(in oklab, var(--brand) 90%, #000), color-mix(in oklab, var(--brand) 60%, #000)); display: grid; justify-items: center; gap: 18px; } .m-cta-band .m-h2 { color: inherit; } .m-cta-band p { opacity: .9; max-width: 52ch; }
.m-cta-band .btn { border-color: transparent; } .m-cta-band .btn-light { background: #fff; color: #10131c; } .m-cta-band .btn-light:hover { background: #f1f3f9; }
.m-foot { padding-block: 56px 40px; border-top: 1px solid var(--line); background: var(--bg); } .m-foot .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; } .m-foot h4 { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; } .m-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; } .m-foot a { color: var(--ink-2); font-size: 14.5px; } .m-foot .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--ink-3); font-size: 13px; } @media (max-width: 760px) { .m-foot .cols { grid-template-columns: 1fr 1fr; } }
html.reveal-on .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); } html.reveal-on .reveal.is-in { opacity: 1; transform: none; } @media (prefers-reduced-motion: reduce) { html.reveal-on .reveal { opacity: 1; transform: none; transition: none; } }
