/* Page-specific styles: usage.html */
:root {
  --bg: #FFF3E8;
  --bg-alt: #FBE3D1;
  --ink: #211512;
  --ink-soft: #6A4A40;
  --primary: #D71920;
  --primary-dark: #8F1015;
  --accent: #F15A24;
  --accent-soft: #F7C84B;
  --herb-brown: #A52A1E;
  --line: #E8C6B2;
  --white: #FFFDFC;

  --font-display: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --font-body: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-full: 999px;

  --max-width: 1120px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
}

/* ---- Header ---- */

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.nav-links a:not(:last-child)::after {
  content: "｜"; position: absolute; right: -1px; top: 50%;
  transform: translateY(-50%); color: rgba(0,0,0,0.5); font-weight: 400;
}

.nav-links a.is-current { color: var(--primary); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 16px 24px 24px;
  background: rgba(255,243,232,0.96);
  backdrop-filter: blur(8px);
}

/* ---- Page hero ---- */

.page-hero {
  position: relative;
  overflow: hidden;
  height: 420px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #C9151B, #49090B);
  color: var(--white);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.70;
  z-index: 1;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(201,21,27,0.80), rgba(73,9,11,0.88));
  z-index: 2;
}

.page-hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
}

.page-hero .eyebrow { color: var(--accent-soft); }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-hero p {
  margin: 14px auto 0;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  max-width: 560px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 용량 비교 테이블 ---- */

.usage-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(73,9,11,0.07);
  overflow-x: auto;
}

.usage-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 14.5px;
}

.usage-table th {
  background: var(--bg-alt);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 16px 12px;
  border-bottom: 2px solid var(--line);
}

.usage-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.usage-table tr:last-child td { border-bottom: none; }

.usage-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ---- 2단 박스 UI ---- */

.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.usage-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(73,9,11,0.07);
}

.usage-card h3 { font-size: 20px; margin-bottom: 18px; color: var(--primary-dark); }

.usage-step-list {
  position: relative;
  padding-left: 28px;
}

.usage-step-list::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}

.u-step-item { position: relative; padding-bottom: 24px; }

.u-step-item:last-child { padding-bottom: 0; }

.u-step-num {
  position: absolute;
  left: -28px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.u-step-item h4 { font-size: 16px; margin-bottom: 4px; }

.u-step-item p { font-size: 14px; color: var(--ink-soft); }

.caution-box {
  background: #FFF3E8;
  border: 1.5px solid var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 32px;
}

.caution-box h3 { color: var(--primary); font-size: 18px; margin-bottom: 14px; }

.caution-box ul { padding-left: 20px; color: var(--ink-soft); font-size: 14.5px; }

.caution-box li { margin-bottom: 8px; }

.caution-box li:last-child { margin-bottom: 0; }

/* ---- CTA ---- */

.usage-cta {
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 72px 24px;
}

.usage-cta h2 { color: var(--primary-dark); font-size: clamp(24px, 3vw, 32px); }

.usage-cta p { color: var(--ink-soft); margin: 14px 0 28px; }

.site-footer {
  padding: 48px 0 40px;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  text-align: center;
}

.site-footer span:first-of-type { color: rgba(255,255,255,0.6); font-size: 13px; }

.site-footer span:last-of-type { max-width: 780px; line-height: 1.7; color: rgba(255,255,255,0.35); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 64px 0; }
  .page-hero { padding: 140px 0 48px; }
  .usage-grid { grid-template-columns: 1fr; }
}
