:root{--build-id:"297a152b-ab28-40b9-a837-4612b88dc5e1";}
/* ==========================================
   로보노다30 - 두부 전문 웹사이트
   변수: L10, C38, T24, B20, N07, K20, S07, H20, F4, CS20
   ========================================== */

/* === 리셋 및 기본 설정 === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* C38 색상 팔레트 */
  --primary: #3f3f46;
  --bg: #fafafa;
  --text: #18181b;
  --accent: #a1a1aa;
  --heading: var(--text);
  --link: var(--text);
  --border: #f3f4f6;
}

/* F4 폰트 스택 */
body {
  font-family: "Segoe UI Variable", "Malgun Gothic", "Noto Sans KR", Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0em;
  color: var(--text);
  background-color: var(--bg);
}

/* H20 헤딩 스타일 */
h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading);
  border-bottom: 4px solid var(--primary);
  padding-bottom: 0.75rem;
  display: inline-block;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.44rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.83rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* === 접근성 === */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

a:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

/* === N07 네비게이션 === */
header {
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--link);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--primary);
}

nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }
}

/* === S07 섹션 여백 === */
section {
  padding: 5.5rem 2rem;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
}

/* === L10 레이아웃: 그라데이션 히어로 === */
.hero {
  background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 50%, #e5e7eb 100%);
  text-align: center;
  padding: 7rem 2rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  color: var(--text);
}

/* B20 버튼 스타일 */
.btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(63, 63, 70, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* === L10: 6열 그리드 === */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3.25rem;
  margin-top: 3rem;
}

/* K20 카드 스타일 */
.card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.75rem;
  background: #fff;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--accent);
  line-height: 1.7;
}

/* === L10: 통계 섹션 === */
.stats {
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.stats h2 {
  color: #fff;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3.25rem;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* === 컨텐츠 섹션 === */
.content-section {
  background: #fff;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3.25rem;
  margin-top: 2.5rem;
}

.content-box {
  padding: 2rem;
  border-left: 4px solid var(--primary);
  background: var(--bg);
}

.content-box h3 {
  margin-bottom: 1rem;
}

/* === 리스트 스타일 === */
.styled-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.styled-list li {
  padding-left: 2rem;
  position: relative;
  line-height: 1.7;
}

.styled-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* === CTA 섹션 === */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === 푸터 === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 2rem 2rem;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* === Privacy/Terms === */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.doc-container h1 {
  margin-bottom: 2rem;
}

.doc-container p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.doc-container a {
  color: var(--primary);
  font-weight: 600;
}

/* === 반응형 === */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 1.5rem;
  }

  .hero {
    padding: 5rem 1.5rem;
  }

  .grid-6 {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* === SVG 스타일 === */
.svg-icon {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

svg {
  max-width: 100%;
  height: auto;
}