:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --gray-50: #F4F5F7;
  --gray-100: #EAECEF;
  --charcoal: #14181F;
  --charcoal-soft: #1F2630;
  --accent: #FF5A36;
  --accent-hover: #E54825;
  --accent-soft: rgba(255, 90, 54, 0.1);
  --mint: #0F766E;
  --mint-soft: rgba(15, 118, 110, 0.1);
  --ink: #14181F;
  --muted: #5B6472;
  --border: #E5E7EB;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* A / B / C 비교 전환 바 */
.version-bar {
  background: var(--charcoal);
  color: #C7CED9;
  font-size: 0.78rem;
  border-bottom: 1px solid #262D38;
}

.version-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.version-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.version-pill {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #353E4D;
  background: #1B212B;
  color: #D4DBE5;
  font-weight: 500;
  transition: all 0.16s ease;
}

.version-pill:hover {
  border-color: var(--accent);
  color: #fff;
}

.version-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Top Slim Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.header-nav a:hover {
  color: var(--ink);
}

.header-cta {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--charcoal);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.16s ease;
}

.header-cta:hover {
  background: var(--accent);
}

/* Split Hero */
.hero-section {
  background: var(--charcoal);
  color: #fff;
}

.hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  align-items: stretch;
}

.hero-summary {
  padding: 44px 36px 44px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 90, 54, 0.18);
  color: #FF8A70;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.hero-answer {
  margin: 0 0 22px;
  font-size: 0.96rem;
  color: #C9D1DC;
  line-height: 1.65;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.metric-box {
  background: var(--charcoal-soft);
  border: 1px solid #2C3542;
  border-radius: 10px;
  padding: 10px 12px;
}

.metric-label {
  display: block;
  font-size: 0.7rem;
  color: #94A0B2;
  margin-bottom: 2px;
}

.metric-val {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.16s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid #384252;
  background: transparent;
  color: #E5E9F0;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.hero-media {
  position: relative;
  height: 430px;
  overflow: hidden;
  cursor: zoom-in;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-media:hover img {
  transform: scale(1.02);
}

.hero-media-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(20, 24, 31, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Main Content Wrapper */
.main-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.sec-block {
  margin-bottom: 52px;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.sec-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sec-sub {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* 2-Column Ingredients & Rocket Fresh */
.ing-shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  gap: 24px;
  align-items: stretch;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.panel-top h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.scale-pills {
  display: inline-flex;
  background: var(--gray-50);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  gap: 4px;
}

.scale-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.scale-btn.active {
  background: var(--charcoal);
  color: #fff;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  align-content: space-between;
}

.chip-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.chip-item:hover {
  border-color: var(--charcoal);
}

.chip-item.checked {
  background: var(--mint-soft);
  border-color: var(--mint);
}

.chip-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.chip-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #9CA3AF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  flex-shrink: 0;
}

.chip-item.checked .chip-check {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}

.chip-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.chip-item.checked .chip-name {
  text-decoration: line-through;
  color: var(--muted);
}

.chip-qty {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.chip-item.checked .chip-qty {
  color: var(--mint);
}

/* Rocket Fresh Widget */
.rocket-panel {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rocket-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 3px 8px;
  border-radius: 6px;
}

.rocket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  flex: 1;
  justify-content: space-between;
}

.rocket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.rocket-row strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}

.rocket-row span {
  font-size: 0.76rem;
  color: var(--muted);
}

.rocket-btn {
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.rocket-btn:hover {
  border-color: var(--charcoal);
  background: var(--gray-50);
}

.ftc-note {
  margin: 12px 0 0;
  font-size: 0.74rem;
  color: var(--muted);
}

/* Compact Mise en Place + 3-Second Failure Prevention Banner */
.prep-summary-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.prep-thumb {
  width: 100%;
  height: 210px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  background: var(--gray-50);
}

.prep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.summary-box {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.summary-box h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.summary-box p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Card-based 5 Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.step-card.done {
  border-color: var(--mint);
  background: #F8FCFB;
}

.step-card.full-span {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-tag {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
}

.time-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.done-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--gray-50);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.step-card.done .done-btn {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}

.step-img {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  background: var(--gray-50);
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.step-img:hover img {
  transform: scale(1.02);
}

.step-body h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step-body p {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
}

.step-body strong.action {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 60%, rgba(255, 90, 54, 0.22) 60%);
}

/* 4-Column Coupang Tools Strip */
.tools-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.tool-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mint);
  display: block;
  margin-bottom: 6px;
}

.tool-card h3 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 800;
}

.tool-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.tool-link:hover {
  border-color: var(--charcoal);
  color: var(--ink);
}

/* Accordion FAQ */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-details summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-details summary::-webkit-details-marker {
  display: none;
}

.faq-details summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.faq-details[open] summary::after {
  content: "−";
}

.faq-details p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: #374151;
}

/* Dark Modern Footer */
.site-footer {
  background: var(--charcoal);
  color: #9CA3AF;
  padding: 40px 24px;
  font-size: 0.82rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #D1D5DB;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(17, 20, 26, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 880px;
  width: 100%;
  text-align: center;
}

.lightbox-inner img {
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 12px;
}

.lightbox-cap {
  margin-top: 12px;
  color: #E5E7EB;
  font-size: 0.88rem;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 960px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .ing-shop-grid,
  .prep-summary-grid,
  .step-card.full-span {
    grid-template-columns: 1fr;
  }

  .hero-summary {
    padding: 32px 20px;
  }

  .hero-media {
    height: 260px;
  }

  .prep-thumb {
    height: 200px;
  }

  .hero-metrics,
  .summary-3col,
  .steps-grid,
  .tools-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-metrics,
  .chip-grid,
  .summary-3col,
  .steps-grid,
  .tools-strip {
    grid-template-columns: 1fr;
  }

  .main-wrap {
    padding: 28px 16px 56px;
  }

  .step-img {
    height: 220px;
  }
}
