/* ===== 펀펀해 디자인 시스템 — 11번가 커머스 스타일 =====
   비비드 레드 액센트 + 검색 강조 헤더 + 카테고리 탭바 + 커머스풍 카드/배지 */

:root {
  /* 뉴트럴 */
  --bg: #ffffff;
  --bg-warm: #f5f5f7;
  --bg-warm-2: #eeeeef;
  --ink: #111111;
  --ink-soft: #767676;
  --ink-muted: #aaaaaa;
  --border: #ececec;
  --border-strong: #dddddd;

  /* 11번가 레드 액센트 */
  --accent: #ff0038;
  --accent-press: #e00031;
  --accent-soft: #fff2f4;
  --coral: #ff5a5f;
  --mint: #19c37d;
  --sun: #ff8a00;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(0,0,0,.04), 0 2px 10px rgba(0,0,0,.05);
  --shadow-pop: 0 4px 12px rgba(0,0,0,.08), 0 16px 40px rgba(0,0,0,.10);

  --maxw: 1180px;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== SVG 아이콘 ===== */
.icon { vertical-align: middle; flex-shrink: 0; }
.badge .icon, .tag .icon, .chip .icon, .more .icon, .go .icon, .nav-cta .icon { vertical-align: -2px; margin-right: 4px; }
.btn .icon { vertical-align: -3px; }
.search button .icon { display: block; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

.section { padding: 52px 0; }
.section--warm { background: var(--bg-warm); }

/* ===== 헤더 (11번가식: 상단 검색 + 카테고리 탭바) ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.header-main { border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 900; font-size: 23px; color: var(--ink); letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 17px; font-weight: 900; font-style: italic;
  box-shadow: 0 3px 10px rgba(255,0,56,.35);
}

/* 검색바 */
.search { flex: 1; max-width: 520px; display: flex; align-items: center;
  border: 2px solid var(--accent); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.search input { flex: 1; border: 0; outline: 0; padding: 11px 18px; font-size: 15px; font-family: var(--font); background: transparent; }
.search button { border: 0; background: transparent; font-size: 18px; padding: 0 16px 0 6px; cursor: pointer; color: var(--accent); }

.nav-spacer { flex: 1; }
.nav-cta {
  background: var(--accent); color: #fff; font-weight: 800; font-size: 14px;
  padding: 11px 18px; border-radius: var(--radius-pill); white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-press); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* 카테고리 탭바 */
.catbar { border-bottom: 1px solid var(--border); background: #fff; }
.catbar-inner { display: flex; gap: 4px; align-items: center; height: 48px; overflow-x: auto; }
.catbar-inner a {
  color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 14px;
  border-radius: var(--radius-sm); white-space: nowrap;
}
.catbar-inner a:hover { background: var(--bg-warm); color: var(--accent); }
.catbar-inner a.strong { font-weight: 800; }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px; cursor: pointer;
  padding: 12px 22px; border-radius: var(--radius-pill);
  border: 1px solid transparent; transition: transform .08s ease, background .15s ease, border-color .15s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-press); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ===== 배지/태그 ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: var(--radius-pill);
  letter-spacing: .02em;
}
.tag {
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 3px 10px; border-radius: 6px;
  display: inline-block;
}

/* ===== 히어로 (레드 프로모 배너) ===== */
.hero { padding: 22px 0; }
.hero .container {
  background: linear-gradient(120deg, #ff0038 0%, #ff4d6d 100%);
  border-radius: var(--radius-lg); padding: 56px 44px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 36px rgba(255,0,56,.25);
}
.hero .container::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); border-radius: 50%;
}
.hero .badge { background: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(4px); }
.hero h1 {
  font-size: clamp(30px, 5.4vw, 52px); font-weight: 900; line-height: 1.12;
  letter-spacing: -0.03em; margin: 16px 0 14px; color: #fff;
}
.hero h1 .grad { color: #ffe14d; -webkit-text-fill-color: #ffe14d; }
.hero p { font-size: clamp(15px, 2.2vw, 19px); color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 26px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--accent); }
.hero .btn-primary:hover { background: #fff0f3; color: var(--accent-press); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ===== 히어로 3D 배경 (펀펀해 도구함 회전 큐브) ===== */
.hero-content { position: relative; z-index: 2; }
.hero-3d { position: absolute; inset: 0; z-index: 1; pointer-events: none; perspective: 1000px; }

.scene { position: absolute; top: 50%; right: 9%; width: 160px; height: 160px; transform: translateY(-50%); perspective: 800px; }
.cube { position: absolute; width: 160px; height: 160px; transform-style: preserve-3d; animation: cube-spin 13s linear infinite; filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); }
.cube .face {
  position: absolute; width: 160px; height: 160px; display: grid; place-items: center;
  background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.65);
  border-radius: 26px; color: #fff; box-shadow: inset 0 0 36px rgba(255,255,255,.25);
}
.cube .face svg { opacity: 1; width: 66px; height: 66px; }
.f-front  { transform: translateZ(80px); }
.f-back   { transform: rotateY(180deg) translateZ(80px); }
.f-right  { transform: rotateY(90deg) translateZ(80px); }
.f-left   { transform: rotateY(-90deg) translateZ(80px); }
.f-top    { transform: rotateX(90deg) translateZ(80px); }
.f-bottom { transform: rotateX(-90deg) translateZ(80px); }
@keyframes cube-spin {
  from { transform: rotateX(-18deg) rotateY(0deg); }
  to   { transform: rotateX(-18deg) rotateY(360deg); }
}

.floatie { position: absolute; color: rgba(255,255,255,.85); animation: floaty 6s ease-in-out infinite; }
.floatie.a { top: 16%; left: 9%; }
.floatie.b { top: 66%; left: 14%; animation-delay: 1.2s; }
.floatie.c { top: 20%; right: 30%; color: rgba(255,255,255,.6); animation-delay: 2.1s; }
.floatie.d { top: 74%; right: 9%; color: rgba(255,255,255,.7); animation-delay: .6s; }
.floatie.e { top: 48%; left: 3%; color: rgba(255,255,255,.55); animation-delay: 3s; }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(-8deg); }
  50%     { transform: translateY(-18px) rotate(10deg); }
}

@media (max-width: 760px) {
  .scene { right: -14px; top: 50%; width: 112px; height: 112px; opacity: .85; transform: translateY(-50%); }
  .cube { width: 112px; height: 112px; }
  .cube .face { width: 112px; height: 112px; border-radius: 18px; }
  .cube .face svg { width: 46px; height: 46px; }
  .f-front{transform:translateZ(56px)} .f-back{transform:rotateY(180deg) translateZ(56px)}
  .f-right{transform:rotateY(90deg) translateZ(56px)} .f-left{transform:rotateY(-90deg) translateZ(56px)}
  .f-top{transform:rotateX(90deg) translateZ(56px)} .f-bottom{transform:rotateX(-90deg) translateZ(56px)}
  .floatie.c, .floatie.d, .floatie.e { display: none; }
}
/* reduced-motion: 완전 정지 대신 아주 느린 회전으로 (모션 최소화하되 살아있게) */
@media (prefers-reduced-motion: reduce) {
  .cube { animation-duration: 60s; }
  .floatie { animation-duration: 20s; }
}

/* 서브 페이지 히어로(작은 배너) — 매거진/툴 목록 등 */
.hero.sub .container { background: var(--bg-warm); color: var(--ink); box-shadow: none; padding: 40px 36px; }
.hero.sub h1 { color: var(--ink); }
.hero.sub h1 .grad { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.hero.sub p { color: var(--ink-soft); }
.hero.sub .badge { background: var(--accent); color: #fff; }

/* ===== 섹션 헤더 ===== */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px;
  padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.section-head h2 { font-size: clamp(22px, 3.2vw, 28px); font-weight: 900; letter-spacing: -0.02em; margin: 2px 0; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 14px; }
.section-head .more { font-weight: 700; white-space: nowrap; color: var(--ink-soft); font-size: 14px; }
.section-head .more:hover { color: var(--accent); }

/* ===== 그리드 ===== */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== 카드 (커머스 상품카드 느낌) ===== */
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-card);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); border-color: var(--accent); }
a.card:hover { color: inherit; }

.tool-card { display: flex; flex-direction: column; height: 100%; text-align: center; }
.tool-card .emoji {
  margin: 6px auto 12px; width: 72px; height: 72px; color: var(--accent);
  display: grid; place-items: center; background: var(--accent-soft); border-radius: 50%;
}
.tool-card h3 { font-size: 17px; font-weight: 800; margin: 0 0 6px; color: var(--ink); letter-spacing: -0.01em; }
.tool-card p { color: var(--ink-soft); font-size: 13.5px; margin: 0 0 14px; flex: 1; line-height: 1.5; }
.tool-card .go { font-weight: 800; color: var(--accent); font-size: 13px; }

/* 매거진 카드 */
.post-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.post-card .thumb {
  height: 170px; display: block; color: var(--accent);
  background: linear-gradient(135deg, var(--accent-soft), #fff7e6);
  overflow: hidden;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .tag { margin: 14px 14px 0; }
.post-card h3 { font-size: 16px; font-weight: 800; margin: 8px 14px; color: var(--ink); line-height: 1.4; letter-spacing: -0.01em; }
.post-card p { color: var(--ink-soft); font-size: 13px; margin: 0 14px 12px; flex: 1; line-height: 1.5; }
.post-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-muted); margin: 0 14px 14px; }

/* 인기글 리스트 */
.rank-list { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.rank-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius-sm); }
.rank-item:hover { background: var(--bg-warm); color: inherit; }
.rank-num { font-size: 20px; font-weight: 900; color: var(--accent); width: 28px; text-align: center; font-style: italic; }
.rank-item .t { font-weight: 700; color: var(--ink); }
.rank-item .m { font-size: 12.5px; color: var(--ink-muted); }

/* 카테고리 칩 */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  padding: 9px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px;
  background: #fff; color: var(--ink-soft); border: 1px solid var(--border-strong);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== 툴 UI 공통 ===== */
.tool-stage {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.tool-stage::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), #ff7a8a);
}
.tool-stage::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events: none;
}
.field { margin-bottom: 16px; position: relative; z-index: 1; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 7px; }
textarea, input[type="text"], input[type="number"], input[type="date"], select {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 13px; transition: border-color .15s, box-shadow .15s;
}
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 120px; resize: vertical; }
.tool-stage .btn { position: relative; z-index: 1; box-shadow: 0 6px 18px rgba(255,0,56,.28); }
.result-box {
  position: relative; z-index: 1; margin-top: 20px;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border: 1.5px solid var(--accent); border-radius: var(--radius); padding: 26px; text-align: center;
  animation: result-pop .4s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes result-pop { from { opacity: 0; transform: scale(.94) translateY(6px); } to { opacity: 1; transform: none; } }
.result-big { font-size: 32px; font-weight: 900; color: var(--accent); letter-spacing: -0.02em; line-height: 1.25; }
.tool-progress {
  position: relative; z-index: 1; display: none; margin-top: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow-card);
}
.tool-progress.active { display: block; }
.tool-progress-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13px; font-weight: 800; color: var(--ink-soft); margin-bottom: 9px;
}
.tool-progress-track {
  height: 10px; background: var(--bg-warm); border-radius: var(--radius-pill);
  overflow: hidden; border: 1px solid var(--border);
}
.tool-progress-bar {
  width: 0%; height: 100%; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), #ff7a8a, var(--sun));
  transition: width .18s ease;
}
.choice-strip {
  position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap;
  min-height: 48px; margin-top: 16px;
}
.choice-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 8px 13px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border-strong); color: var(--ink);
  font-size: 14px; font-weight: 800; box-shadow: var(--shadow-card);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.choice-pill.active {
  transform: translateY(-4px) scale(1.04); border-color: var(--accent);
  background: var(--accent-soft); color: var(--accent);
}
.choice-pill.winner {
  transform: translateY(-5px) scale(1.08); border-color: var(--accent);
  background: var(--accent); color: #fff;
}
.roulette-window {
  position: relative; z-index: 1; height: 78px; margin-top: 16px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: #fff; overflow: hidden; display: grid; place-items: center;
  box-shadow: inset 0 0 0 6px var(--accent-soft);
}
.roulette-window::before,
.roulette-window::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 2;
  pointer-events: none;
}
.roulette-window::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.roulette-window::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.roulette-current {
  font-size: clamp(24px, 5vw, 36px); font-weight: 900; color: var(--accent);
  letter-spacing: -0.02em; transform: scale(1); transition: transform .08s ease;
}
.roulette-current.tick { transform: scale(1.1); }
.ladder-wrap {
  position: relative; z-index: 1; margin-top: 18px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.ladder-wrap canvas { width: 100%; display: block; background: #fff; }
.ladder-status {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-top: 1px solid var(--border); background: var(--bg-warm);
  font-size: 13px; font-weight: 800; color: var(--ink-soft);
}
.ladder-badge {
  color: var(--accent); background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 5px 10px;
}
.stat-row { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.stat {
  flex: 1; min-width: 110px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 14px; text-align: center;
  transition: transform .12s, border-color .12s, box-shadow .12s;
}
.stat:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-card); }
.stat .n { font-size: 26px; font-weight: 900; color: var(--accent); letter-spacing: -.02em; }
.stat .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; font-weight: 600; }

/* ===== 본문(아티클/가이드) ===== */
.prose { font-size: 17px; line-height: 1.8; color: #222; }
.prose h2 { font-size: 25px; font-weight: 900; margin: 38px 0 14px; letter-spacing: -0.02em; padding-left: 12px; border-left: 4px solid var(--accent); }
.prose h3 { font-size: 19px; font-weight: 800; margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 22px 0; padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #444; }
.prose code { background: var(--bg-warm); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.prose pre { background: #1d1b18; color: #f4f1ec; padding: 16px; border-radius: var(--radius-sm); overflow:auto; }
.prose pre code { background: none; padding: 0; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 22px 0; }

/* 글 상단 헤더 */
.article-head { text-align: center; padding: 16px 0 8px; }
.article-head .emoji { color: var(--accent); display: inline-flex; }
.article-head h1 { font-size: clamp(27px, 4.6vw, 40px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.22; margin: 12px 0; }
.article-head .meta { color: var(--ink-muted); font-size: 14px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.article-media {
  margin: 28px 0 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-pop);
}
.article-media img {
  width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover;
}
.article-media figcaption {
  padding: 9px 12px; font-size: 12px; color: var(--ink-muted);
  text-align: right; background: #fff;
}
.article-media figcaption a { color: var(--ink-soft); text-decoration: underline; }
.article-media figcaption a:hover { color: var(--accent); }

/* ===== 광고 슬롯 ===== */
.ad-slot { margin: 30px auto; text-align: center; min-height: 90px; display: flex; align-items: center; justify-content: center; }
.ad-label { font-size: 11px; color: var(--ink-muted); letter-spacing: .08em; }

/* ===== 푸터 ===== */
.site-footer { background: var(--bg-warm); border-top: 1px solid var(--border); padding: 44px 0 30px; margin-top: 20px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { max-width: 280px; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; }
.footer-col h4 { font-size: 13px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--ink-muted); font-size: 13px; }

/* ===== 반응형 ===== */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { gap: 10px; height: 60px; }
  .nav-cta { display: none; }
  .search { max-width: none; }
  .nav-toggle { display: block; }
  .catbar { display: none; }
  .catbar.open { display: block; }
  .catbar.open .catbar-inner { flex-direction: column; height: auto; align-items: stretch; padding: 8px 0; }
  .catbar.open .catbar-inner a { padding: 12px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero .container { padding: 40px 22px; }
  .section { padding: 38px 0; }
  .tool-stage { padding: 22px; }
  .result-big { font-size: 27px; }
}
