/* 헤르타벨 홈페이지 스타일 */
:root {
  --bg: #fbfafd;
  --surface: #ffffff;
  --ink: #221a38;
  --body: #4a4460;
  --muted: #675f7d;
  --accent: #6d4fd6;
  --accent-strong: #5a3fc2;
  --accent-soft: #f0ebfc;
  --border: #e8e4f3;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

.container { max-width: 1020px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 32px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* 상단 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 253, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.wordmark-accent { color: var(--accent); }
.nav-list { display: flex; gap: clamp(16px, 3vw, 30px); list-style: none; }
.nav-list a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.nav-list a:hover { color: var(--ink); }

/* 첫 화면 */
.hero {
  padding: clamp(76px, 14vw, 130px) 0 clamp(64px, 10vw, 96px);
  background:
    radial-gradient(720px 420px at 88% -10%, rgba(109, 79, 214, 0.12), transparent 70%),
    radial-gradient(520px 320px at -8% 112%, rgba(109, 79, 214, 0.07), transparent 70%);
}
.hero-eyebrow { color: var(--accent-strong); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.85rem, 5.2vw, 3rem); line-height: 1.3; letter-spacing: -0.03em; font-weight: 800; }
.hero-lead { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: 1.06rem; }
.hero-cta { margin-top: 36px; }

.button {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem;
  border-radius: 999px; padding: 13px 26px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-strong); }
.button-ghost { border: 1px solid var(--border); color: var(--ink); background: var(--surface); }
.button-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

/* 공통 섹션 */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--border); }
#about, #apps, #contact { scroll-margin-top: 76px; }
.section-title { font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -0.02em; font-weight: 800; }
.section-lead { margin-top: 14px; color: var(--muted); max-width: 36em; }

/* 사업 소개 */
.process-grid { margin-top: 42px; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.process-step { color: var(--accent); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; }
.process-card h3 { margin-top: 6px; font-size: 1.1rem; }
.process-card p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

.about-body { margin-top: 46px; display: grid; gap: 14px; max-width: 46em; }
.about-body p { color: var(--body); }
.about-brand { border-left: 3px solid var(--accent); padding-left: 16px; }

/* 운영 앱 */
.app-grid { margin-top: 42px; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
.app-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.app-icon {
  width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-weight: 800; font-size: 1.5rem; color: var(--accent); flex-shrink: 0;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card h3 { font-size: 1.15rem; }
.app-desc { color: var(--muted); font-size: 0.97rem; flex-grow: 1; }
.app-links { display: flex; gap: 12px; flex-wrap: wrap; }
.app-links .button { padding: 10px 18px; font-size: 0.93rem; }

/* 문의 */
.contact-box {
  margin-top: 36px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px;
}
.contact-label { color: var(--muted); font-size: 0.95rem; }
.contact-mail { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--accent-strong); text-decoration: none; font-size: 1.15rem; overflow-wrap: anywhere; }
.contact-mail:hover { text-decoration: underline; }

/* 하단 */
.site-footer { border-top: 1px solid var(--border); padding: 46px 0 58px; color: var(--muted); font-size: 0.93rem; }
.footer-brand { font-weight: 700; color: var(--ink); }
.footer-lines { margin-top: 8px; display: grid; gap: 2px; }
.footer-copy { margin-top: 18px; }
