/* Axowl Marketplace — 스타일 = axowl.com 실측 값(Inter · JetBrains Mono · zinc · 초록 라벨 · 흰/미색/검정 교대).
   레이아웃 = AWS Marketplace 벤치마크(검색 중심 · 카테고리 · 필터 + 목록 · 상세 + 구매 상자). */
:root {
  --bg: #fff; --soft: #FAFAFA; --off: #F4F4F2; --ink: #18181B; --ink2: #52525B; --ink3: #71717A;
  --line: #E4E4E7; --green: #16A34A; --green-l: #4ADE80; --btn: #27272A;
  --dark: #0A0A0A; --dcard: #111113; --dline: #242424; --dtext: #9A9A9D;
  --sans: "Inter", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1200px; --gutter: clamp(16px, 4vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 4.8vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; line-height: 1.06; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
.kicker { font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.lead { font-size: 17px; line-height: 1.6; color: #57575A; max-width: 62ch; margin-top: 14px; }
.muted { color: var(--ink3); }

/* 버튼 — axowl.com btn-kinde-primary */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 14px/1 var(--sans); padding: 11px 16px; border-radius: 6px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-dark { background: var(--btn); color: rgba(255,255,255,.92); box-shadow: inset 0 .75px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.4), 0 0 0 1px #18181B; }
.btn-dark:hover { background: #3F3F46; }
.btn-line { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.04); }
.btn-line:hover { background: var(--soft); }
.btn-white { background: #fff; color: var(--dark); font-weight: 600; }
.btn-white:hover { background: #E4E4E7; }
.btn-block { width: 100%; }

/* 헤더 */
header.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { height: 57px; display: flex; align-items: center; gap: 22px; }
.logo { display: flex; align-items: baseline; gap: 7px; text-decoration: none; white-space: nowrap; }
.logo b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.logo span { font-size: 15px; font-weight: 500; color: var(--ink3); letter-spacing: -.01em; }
.top-search { flex: 1; max-width: 520px; position: relative; }
.top-search input { width: 100%; height: 36px; border-radius: 6px; border: 0; box-shadow: 0 0 0 1px var(--line); background: var(--soft); padding: 0 12px 0 34px; font: 400 13.5px var(--sans); color: var(--ink); }
.top-search input:focus { outline: none; box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px rgba(24,24,27,.08); background: #fff; }
.top-search i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ink3); font-size: 14px; }
nav.nav { display: flex; gap: 18px; margin-left: auto; font-size: 13px; font-weight: 500; }
nav.nav a { color: var(--ink2); text-decoration: none; white-space: nowrap; }
nav.nav a:hover { color: var(--ink); }
.top .btn { font-size: 13px; padding: 8px 12px; }
@media (max-width: 1000px) { nav.nav { display: none; } }
@media (max-width: 640px) { .top-search { display: none; } .logo span { display: none; } .top-in { justify-content: space-between; } }

/* 카테고리 띠 (AWS 의 두 번째 줄) */
.catbar { border-bottom: 1px solid var(--line); background: #fff; }
.catbar .wrap { display: flex; gap: 22px; height: 42px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.catbar a { display: flex; align-items: center; font-size: 13px; color: var(--ink2); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.catbar a:hover, .catbar a.on { color: var(--ink); border-bottom-color: var(--ink); }

/* 섹션 */
section.sec { padding: clamp(64px, 8vw, 96px) 0; }
.sec-soft { background: var(--soft); }
.sec-off { background: var(--off); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-dark .lead { color: var(--dtext); }
.sec-dark .kicker { color: var(--green-l); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head a.more { font-size: 14px; font-weight: 500; color: var(--ink2); text-decoration: none; }
.sec-head a.more:hover { color: var(--ink); }

/* 히어로 — 가운데 + 세로 가이드 선 */
.hero { position: relative; background: var(--soft); padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: min(var(--max), calc(100% - 32px)); transform: translateX(-50%); border-left: 1px solid var(--line); border-right: 1px solid var(--line); pointer-events: none; }
.hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.hero h1 { max-width: 17ch; }
.hero .lead { margin: 20px auto 0; font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 680px; }
.bigsearch { margin-top: 32px; width: min(680px, 100%); display: flex; gap: 8px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 12px 32px -12px rgba(24,24,27,.18); }
.bigsearch label { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.bigsearch i { color: var(--ink3); }
.bigsearch input { flex: 1; border: 0; outline: none; font: 400 15.5px var(--sans); color: var(--ink); background: transparent; min-width: 0; height: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.chips span { font-size: 12.5px; color: var(--ink3); }
.chip { font-size: 12.5px; color: var(--ink2); text-decoration: none; padding: 5px 10px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.chip:hover { color: var(--ink); box-shadow: 0 0 0 1px #A1A1AA; }
.hero-stats { display: flex; gap: 28px; justify-content: center; margin-top: 30px; flex-wrap: wrap; font-size: 13px; color: var(--ink3); }
.hero-stats b { color: var(--ink); font-weight: 700; margin-right: 4px; }

/* 카테고리 타일 */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cat { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: start; padding: 18px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); background: #fff; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.cat:hover { box-shadow: 0 0 0 1px #A1A1AA, 0 12px 28px -12px rgba(24,24,27,.2); transform: translateY(-2px); }
.cat .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 8px; background: var(--off); display: grid; place-items: center; font-size: 18px; color: var(--ink); }
.cat h3 { font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }
.cat h3 em { font: 500 11px var(--mono); color: var(--ink3); font-style: normal; }
.cat p { font-size: 13px; color: var(--ink3); line-height: 1.45; }

/* 제품 카드 (격자) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; position: relative; }
.pcard:hover { box-shadow: 0 0 0 1px #A1A1AA, 0 18px 40px -16px rgba(24,24,27,.25); transform: translateY(-2px); }
.pcard-top { display: flex; gap: 12px; align-items: center; }
.mark { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 700 15px var(--sans); letter-spacing: -.02em; flex-shrink: 0; }
.mark.lg { width: 72px; height: 72px; border-radius: 14px; font-size: 24px; }
.pcard h3 { font-size: 16px; }
.by { font-size: 12.5px; color: var(--ink3); }
.by b { color: var(--ink2); font-weight: 500; }
.pcard .desc { font-size: 13.5px; color: var(--ink2); line-height: 1.5; flex: 1; }
.pcard-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.price-from { font-size: 12px; color: var(--ink3); }
.price-from b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; margin-top: 2px; }
.badges { display: flex; gap: 4px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; font: 500 10.5px/1 var(--mono); letter-spacing: .02em; padding: 4px 6px; border-radius: 4px; background: #F0FDF4; color: #15803D; white-space: nowrap; }
.badge.grey { background: var(--off); color: var(--ink2); }
.badge.sample { background: #FEF3C7; color: #92400E; }
.ribbon { position: absolute; top: 14px; right: 14px; }

/* 세 가지 확인 (검정) */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.check { background: var(--dcard); border: 1px solid var(--dline); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.check .badge { align-self: flex-start; background: rgba(74,222,128,.12); color: var(--green-l); font-size: 12px; padding: 6px 9px; }
.check h3 { font-size: 18px; color: #fff; }
.check p { color: var(--dtext); font-size: 14px; }
.check code { font: 400 12px var(--mono); color: #D4D4D8; background: #18181B; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--dline); display: block; margin-top: 4px; overflow-x: auto; white-space: nowrap; }
.checks-note { margin-top: 18px; font-size: 13.5px; color: var(--dtext); }
@media (max-width: 860px) { .checks { grid-template-columns: 1fr; } }

/* 이용 방법 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; margin-top: 36px; }
.step { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 22px; }
.step .n { font: 500 12px var(--mono); color: var(--green); }
.step h3 { margin-top: 10px; font-size: 16px; }
.step p { margin-top: 6px; font-size: 13.5px; color: var(--ink2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* 빌더 (검정) */
.builders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; background: var(--dcard); border: 1px solid var(--dline); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; color: #E4E4E7; }
.flow li span { font: 500 12px var(--mono); color: var(--green-l); }
.flow li em { display: block; font-style: normal; font-size: 12.5px; color: var(--dtext); margin-top: 2px; }
.builders .btn { margin-top: 26px; }
.builders .fine { margin-top: 14px; font-size: 13px; color: var(--dtext); }
@media (max-width: 860px) { .builders { grid-template-columns: 1fr; } }

/* 푸터 */
footer { background: var(--dark); color: var(--ink3); font-size: 13px; padding: 36px 0 44px; border-top: 1px solid var(--dline); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: #A1A1AA; text-decoration: none; }
footer a:hover { color: #fff; }
footer .left { margin-right: auto; }

/* ── 검색 결과 ── */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 28px 0 22px; }
.crumbs { font-size: 12.5px; color: var(--ink3); margin-bottom: 8px; }
.crumbs a { text-decoration: none; color: var(--ink2); }
.page-head h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; }
.results { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 28px 0 80px; }
.filters { position: sticky; top: 118px; align-self: start; display: grid; gap: 20px; }
.fgroup h4 { font: 600 12px var(--sans); letter-spacing: .02em; color: var(--ink); margin-bottom: 8px; }
.fgroup label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); padding: 4px 0; cursor: pointer; }
.fgroup label em { margin-left: auto; font: 400 11px var(--mono); color: var(--ink3); font-style: normal; }
.fgroup input { accent-color: var(--ink); width: 15px; height: 15px; }
.clear { font-size: 13px; color: var(--ink2); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; justify-self: start; }
.rbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.rbar .count { font-size: 13.5px; color: var(--ink2); }
.rbar .count b { color: var(--ink); }
.rbar select { font: 400 13px var(--sans); padding: 7px 10px; border-radius: 6px; border: 0; box-shadow: 0 0 0 1px var(--line); background: #fff; color: var(--ink); }
.list { display: grid; gap: 10px; }
.lcard { display: grid; grid-template-columns: 52px 1fr 180px; gap: 16px; align-items: start; padding: 18px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: box-shadow .2s; }
.lcard:hover { box-shadow: 0 0 0 1px #A1A1AA, 0 12px 28px -14px rgba(24,24,27,.22); }
.lcard .mark { width: 52px; height: 52px; }
.lcard h3 { font-size: 16px; }
.lcard .desc { font-size: 13.5px; color: var(--ink2); margin-top: 6px; }
.lcard .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lcard .right { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.lcard .right b { font-size: 14px; }
.empty { padding: 40px; text-align: center; color: var(--ink2); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.showfilters { display: none; }
@media (max-width: 860px) {
  .results { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .showfilters { display: inline-flex; }
  .lcard { grid-template-columns: 44px 1fr; }
  .lcard .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}

/* ── 제품 상세 ── */
.detail-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.dh { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; }
.dh h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; }
.dh .by { font-size: 14px; margin-top: 6px; }
.dh .short { font-size: 16px; color: var(--ink2); margin-top: 12px; max-width: 64ch; }
.dh .badges { margin-top: 14px; }
.dbody { display: grid; grid-template-columns: 1fr 330px; gap: 36px; padding: 28px 0 90px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs button { font: 500 14px var(--sans); color: var(--ink3); background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.panel { display: none; }
.panel.on { display: block; }
.panel h2 { font-size: 22px; letter-spacing: -.025em; margin: 26px 0 12px; }
.panel h2:first-child { margin-top: 0; }
.hl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hl li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; }
.hl li::before { content: "✓"; color: var(--green); font-weight: 700; }
.uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.use { padding: 14px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.use i { font-size: 18px; color: var(--green); }
.use b { display: block; margin-top: 8px; font-size: 14px; }
.use p { font-size: 13px; color: var(--ink3); margin-top: 2px; }
table.pt { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
table.pt th { text-align: left; font: 600 12px var(--sans); color: var(--ink3); background: var(--soft); padding: 10px 14px; letter-spacing: .02em; }
table.pt td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
table.pt td:nth-child(2) { font-weight: 600; white-space: nowrap; }
table.pt td:last-child { color: var(--ink2); }
ol.setup { padding: 0; margin: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
ol.setup li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15px; align-items: start; }
ol.setup li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 500 12px var(--mono); background: var(--ink); color: #fff; }
.buybox { position: sticky; top: 118px; align-self: start; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(24,24,27,.25); background: #fff; padding: 22px; display: grid; gap: 14px; }
.buybox .from { font-size: 12.5px; color: var(--ink3); }
.buybox .amt { font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.buybox .note { font-size: 13px; color: var(--ink2); }
.buybox .bill { font: 400 12px var(--mono); color: var(--ink3); display: flex; gap: 6px; align-items: center; }
.pubbox { margin-top: 14px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 18px; display: grid; gap: 10px; }
.pubbox h4 { font-size: 13px; }
.pubbox .row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink2); }
.pubbox .row b { font-weight: 500; }
.ok { color: var(--green); }
.no { color: #A1A1AA; }
.samplebar { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; font-size: 13px; padding: 10px 14px; border-radius: 8px; margin-bottom: 20px; }
@media (max-width: 920px) { .dbody { grid-template-columns: 1fr; } .buybox { position: static; } }
@media (max-width: 560px) { .dh { grid-template-columns: 1fr; } }

/* [2026-09-26] Axowl 로그인 — 헤더 계정 칸 · 켜기 상태 */
.acct { display: flex; align-items: center; gap: 8px; }
.org-sel { font: inherit; font-size: 13px; color: var(--ink); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-sel { padding: 7px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }

.st { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 4px; text-transform: uppercase; letter-spacing: .03em; }
.st.on { background: #DCFCE7; color: #15803D; }
.st.inuse { background: #E0E7FF; color: #3730A3; }
.st.off { background: #F4F4F5; color: #52525B; }
[data-turnon] .btn + .btn { margin-top: 8px; }
[data-turnon] button:disabled { opacity: .6; cursor: default; }
@media (max-width: 720px) { .acct .org-sel { display: none; } }
@media (max-width: 480px) { .acct .btn-line { display: none; } }

/* [2026-09-26] Bullmark 로고 이미지 */
.mark.img { background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; padding: 0; }
.mark.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
