:root{--build-id:"77898d2c-59dc-4ff1-9f7b-e8715408cdaa";}
/* ========================================
   페이노로77 - 프리미엄 두부 전문 브랜드
   변수 조합 99번: L09, C34, T22, B18, N05, K18, S05, H18, F3, CS18
   ======================================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* C34: 중성 다크 색상 팔레트 */
:root {
  --primary: #1e293b;
  --bg: #f1f5f9;
  --text: #0f172a;
  --accent: #64748b;
  --heading: var(--text);
  --link: var(--text);
  --border: #e2e8f0;
  --white: #ffffff;
}

/* S05: 여백 시스템 */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
}

.content-section + .content-section {
  padding-top: 0;
}

/* H18: 헤딩 스타일 */
h1 {
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--heading);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.005em;
  color: var(--heading);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* 접근성: Skip Link */
.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;
}

/* N05: 네비게이션 - 상단 투명 + 좌측 로고 + 우측 메뉴+CTA */
header {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 2rem 0;
  transition: background 0.3s ease;
}

header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.logo svg {
  color: var(--primary);
}

.menu-checkbox {
  display: none;
}

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

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

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

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

header nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

/* B18: 버튼 스타일 - 미니멀 언더라인 */
.nav-cta {
  border-bottom: 2px solid var(--primary);
  background: transparent;
  padding: 0.5rem 0;
  font-weight: 500;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--primary);
  background: transparent;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--primary);
}

.btn-primary {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.btn-secondary {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.btn-primary:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.btn-secondary:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* L09: 레이아웃 - 애니메이션 히어로 → 스텝 가이드 → 후기 → 멀티CTA */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg) 0%, #e2e8f0 100%);
  padding-top: 8rem;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 섹션 스타일 */
.intro-section {
  background: var(--white);
}

.section-lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--accent);
  margin-bottom: 4rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}

/* K18: 카드 스타일 - 미니멀 왼쪽 보더 */
.feature-card,
.value-item,
.benefit-item,
.testimonial-card {
  background: transparent;
  border-left: 3px solid var(--primary);
  padding: 1.5rem 0 1.5rem 1.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.value-item h3,
.benefit-item h3 {
  margin-bottom: 1rem;
}

.feature-card p,
.value-item p,
.benefit-item p {
  color: var(--accent);
  line-height: 1.75;
}

/* 스텝 가이드 섹션 */
.process-section {
  background: var(--bg);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
}

.step-item {
  background: var(--white);
  border-left: 3px solid var(--primary);
  padding: 2rem 0 2rem 2rem;
}

.step-number {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step-item h3 {
  margin-bottom: 1rem;
}

.step-item p {
  color: var(--accent);
  line-height: 1.75;
}

/* 후기 섹션 */
.testimonials-section {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* 멀티 CTA 섹션 */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-section .btn-primary,
.cta-section .btn-secondary {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* 페이지 헤더 */
.page-header {
  background: linear-gradient(135deg, var(--bg) 0%, #e2e8f0 100%);
  text-align: center;
  padding: 10rem 0 5rem;
}

.page-header h1 {
  font-size: 3rem;
}

.page-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--accent);
  max-width: 700px;
  margin: 0 auto;
}

/* 컨텐츠 섹션 */
.content-section {
  background: var(--white);
}

.content-section.alt-bg {
  background: var(--bg);
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text);
}

.values-grid,
.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
}

/* 방법 페이지 */
.method-detail {
  max-width: 900px;
  margin: 0 auto;
}

.method-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* FAQ 페이지 */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: transparent;
  border-left: 3px solid var(--primary);
  padding: 2rem 0 2rem 2rem;
  margin-bottom: 3rem;
}

.faq-item h2 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.faq-item p {
  line-height: 1.8;
  color: var(--text);
}

/* 연락처 페이지 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary);
}

.contact-text h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-note {
  font-size: 0.9375rem;
  color: var(--accent);
}

.contact-message p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-tips {
  list-style: none;
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary);
}

.contact-tips li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.contact-tips li::before {
  content: "▸ ";
  color: var(--primary);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* 푸터 */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-nav-group h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-nav-group ul {
  list-style: none;
}

.footer-nav-group li {
  margin-bottom: 0.75rem;
}

.footer-nav-group a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-group a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.7;
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* 문서 페이지 (Privacy/Terms) */
.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

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

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

.doc-container a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.25rem;
  font-weight: 500;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  .hero-section .container {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .values-grid,
  .benefits-list {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .menu-checkbox:checked ~ nav {
    display: block;
  }

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

  .hero-section {
    padding-top: 6rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .page-header {
    padding: 8rem 0 4rem;
  }
}