:root {
  --white: #FFFFFF;
  --gray-bg: #F2F4F6;
  --ink: #191F28;
  --ink-soft: #4E5968;
  --ink-faint: #8B95A1;
  --blue: #3C8FEF;
  --blue-dark: #2C74D1;
  --blue-tint: #E9F2FE;
  --border: #E5E8EB;
  --radius: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
}

.section-narrow { max-width: 720px; }

h1, h2, h3 {
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.3; font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 34px); text-align: center; }
h3 { font-size: 20px; margin-bottom: 6px; font-weight: 700; }

p { margin: 0 0 16px; }

a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand-name {
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-soft);
}

.site-nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 16px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-cta {
  color: var(--blue) !important;
  font-weight: 700 !important;
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 18px;
  transition: background 0.15s ease;
}

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

.btn-primary:hover { background: var(--blue-dark); }

.btn-small {
  padding: 9px 18px;
  font-size: 15px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.btn-small:hover { background: #333; }

.btn-cta {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-cta:hover { background: var(--blue-tint); }

.btn-large {
  padding: 18px 36px;
  font-size: 19px;
}

/* Hero */
.hero {
  padding: 72px 0 0;
  text-align: center;
}

.eyebrow {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { margin: 24px 0 10px; }

.hero-note {
  font-size: 15px;
  color: var(--ink-faint);
  margin-bottom: 48px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: 320px;
  max-width: 80%;
  border-radius: 28px 28px 0 0;
}

@media (max-width: 480px) {
  .hero-media img { width: 260px; max-width: 78%; }
}

.hide-mobile { display: inline; }
@media (max-width: 500px) { .hide-mobile { display: none; } }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-bg); }

@media (max-width: 620px) {
  .section { padding: 56px 0; }
}

.section-lead {
  text-align: center;
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 40px;
}

.section-foot {
  text-align: center;
  color: var(--ink-faint);
  font-size: 16px;
  margin-top: 32px;
}

.section-foot-left {
  text-align: left;
  margin-top: 24px;
}

/* Feature row (text + screenshot) */
.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.feature-row-reverse { flex-direction: row-reverse; }

.feature-row-center { align-items: center; }

.feature-text { flex: 1 1 420px; min-width: 0; }

.feature-media {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.feature-media img {
  width: 220px;
  border-radius: 20px;
}

.feature-media-small img { width: 200px; }

.health-copy {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 860px) {
  .feature-row,
  .feature-row-reverse {
    flex-direction: column;
  }
  .feature-media { order: -1; margin-bottom: 8px; }
  .feature-row-center .feature-text { text-align: center; }
}

@media (max-width: 480px) {
  .feature-row { gap: 28px; }
  .feature-media img,
  .feature-media-small img { width: 220px; max-width: 70%; }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.section-alt .card { background: var(--white); }

.card-index {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* Row list */
.row-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.row-list li {
  padding: 20px 4px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.row-list li:first-child { border-top: 1px solid var(--border); }

/* CTA */
.cta {
  padding: 88px 0;
  text-align: center;
  background: var(--blue);
  color: #fff;
}

.cta h2 { margin-bottom: 8px; color: #fff; }
.cta p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  background: var(--gray-bg);
  color: var(--ink-soft);
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
}

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

.footer-note {
  padding-top: 20px;
  font-size: 13px;
  color: var(--ink-faint);
}
