:root {
  --ivory: #f8f5ef;
  --beige: #efe7da;
  --navy: #17213b;
  --navy-deep: #111b33;
  --gray: #6e7688;
  --gold: #c7a15a;
  --gold-deep: #a77c35;
  --sage: #a8b8a0;
  --white: #fffdf8;
  --line: rgba(199, 161, 90, .32);
  --shadow: 0 18px 48px rgba(23, 33, 59, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: "Noto Sans KR", "Pretendard", sans-serif;
  font-size: 18px;
  line-height: 1.8;
}
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(248, 245, 239, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: max-content; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.brand strong { display: block; font-family: "Noto Serif KR", serif; font-size: 1.35rem; line-height: 1.15; }
.brand small { display: block; color: #111; font-weight: 800; white-space: nowrap; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
}
.site-nav a:hover, .site-nav a.active { background: rgba(199, 161, 90, .16); color: var(--gold-deep); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--navy); }
.hero, .page-hero {
  margin: 24px auto 0;
  width: min(1180px, calc(100% - 40px));
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(199,161,90,.28), transparent 32%),
    radial-gradient(circle at 88% 15%, rgba(168,184,160,.32), transparent 30%),
    linear-gradient(135deg, #fffaf0 0%, #efe7da 42%, #d9dfd0 100%);
  box-shadow: var(--shadow);
}
.hero { min-height: 560px; display: flex; align-items: center; }
.hero-content, .page-hero { padding: clamp(34px, 7vw, 92px); }
.page-hero { min-height: 320px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font: 800 .78rem/1 "Inter", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Noto Serif KR", serif; line-height: 1.28; color: var(--navy-deep); }
h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 5.2rem); }
h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 3.2vw, 3rem); }
h3 { margin: 0 0 10px; font-size: 1.35rem; }
.hero-name { margin: 8px 0 18px; color: var(--gold-deep); font-weight: 900; font-size: 1.35rem; }
.hero-copy, .page-hero p { max-width: 760px; color: var(--gray); font-size: clamp(1.08rem, 2vw, 1.35rem); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(23, 33, 59, .16); }
.primary { background: var(--gold); color: var(--navy-deep); }
.secondary { background: rgba(255,255,255,.62); color: var(--navy); }
.section, .article {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}
.article { max-width: 820px; }
.hub-grid, .feature-grid, .content-grid, .video-grid, .card-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hub-card, .feature-grid article, .content-card, .video-card, .form-panel, .price-card {
  display: block;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23,33,59,.08);
  text-decoration: none;
}
.hub-card:hover, .feature-grid article:hover, .content-card:hover, .video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hub-card span { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 900; }
.hub-card strong, .content-card strong { display: block; font-size: 1.2rem; font-weight: 900; color: var(--navy-deep); }
.hub-card p, .content-card p, .video-card p, .muted { color: var(--gray); }
.split, .product-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.devotion-highlight { padding: 42px; border-radius: 24px; background: var(--navy); color: white; }
.devotion-highlight h2, .devotion-highlight h3 { color: white; }
blockquote { margin: 0; padding: 24px; border-left: 6px solid var(--gold); background: rgba(199,161,90,.12); border-radius: 14px; font-family: "Noto Serif KR", serif; font-weight: 700; }
blockquote cite { display: block; margin-top: 12px; color: var(--gold); font-style: normal; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic-grid a { padding: 16px; border-radius: 16px; background: var(--beige); text-decoration: none; font-weight: 900; text-align: center; }
.search-panel { padding: 40px; border-radius: 24px; background: var(--beige); }
.search-box { display: flex; gap: 12px; }
input, textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--navy);
  font: inherit;
}
input:focus, textarea:focus { outline: 3px solid rgba(199,161,90,.24); border-color: var(--gold); }
.form-panel { display: grid; gap: 18px; }
label { font-weight: 900; }
.checkbox-label { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: var(--gray); }
.checkbox-label input { width: auto; min-height: auto; margin-top: 8px; }
.narrow { max-width: 780px; }
.text-link { color: var(--gold-deep); font-weight: 900; }
.check-list li { margin: 10px 0; }
.day-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.day-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.share-card { min-height: 260px; padding: 28px; border-radius: 22px; display: grid; align-content: center; gap: 12px; box-shadow: var(--shadow); }
.share-card span { color: var(--gold); font-weight: 900; }
.share-card strong { font: 800 1.6rem/1.35 "Noto Serif KR", serif; }
.share-card.navy { background: var(--navy); color: white; }
.share-card.ivory { background: #fffaf0; }
.share-card.sage { background: #dfe7da; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 40px clamp(20px, 4vw, 56px);
  background: var(--navy);
  color: white;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: white; }
@media (max-width: 860px) {
  body { font-size: 17px; }
  .menu-toggle { display: block; }
  .site-header { align-items: flex-start; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 84px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .brand small { white-space: normal; }
  .hub-grid, .feature-grid, .content-grid, .video-grid, .card-preview-grid, .split, .product-panel { grid-template-columns: 1fr; }
  .topic-grid, .day-grid { grid-template-columns: repeat(2, 1fr); }
  .search-box { flex-direction: column; }
  .hero, .page-hero, .section, .article { width: min(100% - 32px, 1120px); }
  .site-footer { flex-direction: column; }
}
@media (max-width: 430px) {
  .topic-grid, .day-grid { grid-template-columns: 1fr; }
  .hero-content, .page-hero { padding: 28px 22px; }
  h1 { font-size: 2.25rem; }
}
