/* GLOBALMEDICS — 공통 스타일 (index.html, privacy.html 공용) */
:root {
  --teal-900: #063240;
  --teal-800: #0B4C60;
  --teal-700: #14607A;
  --teal-100: #E3F0F3;
  --teal-50: #F3F8FA;
  --mint: #5EE0A0;
  --mint-dark: #2FB57A;
  --ink: #1B2A30;
  --ink-2: #4A5C64;
  --ink-3: #7A8A91;
  --line: #D9E4E8;
  --bg: #FFFFFF;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
}
a { color: var(--teal-800); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--teal-800); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .brand-en { font-size: 12px; color: var(--ink-3); font-weight: 500; letter-spacing: 0.08em; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--teal-800); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--teal-900) 0%, var(--teal-800) 55%, var(--teal-700) 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,224,160,0.22) 0%, rgba(94,224,160,0) 70%);
}
.hero .eyebrow { font-size: 14px; letter-spacing: 0.14em; color: var(--mint); font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: 44px; font-weight: 700; max-width: 720px; }
.hero p { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,0.82); max-width: 620px; }
.hero .actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; transition: transform .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--mint); color: var(--teal-900); }
.btn-primary:hover { background: #7BE8B2; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--teal-50); }
.section-head { margin-bottom: 44px; }
.section-head .label { font-size: 13px; letter-spacing: 0.14em; color: var(--mint-dark); font-weight: 700; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; font-weight: 700; color: var(--teal-900); }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; max-width: 640px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-800); margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; font-weight: 700; color: var(--teal-900); margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-2); }

/* App section */
.app { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.app-visual { display: flex; justify-content: center; }
.app-visual img {
  width: 220px; height: 220px; border-radius: 48px;
  box-shadow: 0 24px 60px rgba(11,76,96,0.28);
}
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 999px; background: var(--teal-100); color: var(--teal-800);
  margin-bottom: 14px;
}
.app h2 { font-size: 32px; color: var(--teal-900); }
.app h2 small { display: block; font-size: 15px; color: var(--ink-3); font-weight: 500; margin-top: 6px; letter-spacing: 0.04em; }
.app .lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.features li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.features li .dot {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--mint); color: var(--teal-900); display: grid; place-items: center;
}
.features li .dot svg { width: 12px; height: 12px; }
.features li strong { display: block; font-weight: 700; color: var(--teal-900); }
.features li span { color: var(--ink-2); font-size: 14px; }
.app .note { margin-top: 24px; font-size: 14px; color: var(--ink-3); }

/* Company info */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; row-gap: 14px; column-gap: 12px; font-size: 15px; }
.info dt { color: var(--ink-3); font-weight: 500; }
.info dd { margin: 0; color: var(--ink); }
.info .card { padding: 30px 28px; }
.info h3 { font-size: 17px; color: var(--teal-900); margin-bottom: 18px; }

/* Footer */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,0.72); padding: 40px 0; font-size: 13px; }
.site-footer .container { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.site-footer strong { color: #fff; font-weight: 600; }
.site-footer .legal { line-height: 1.8; }
.site-footer .links { display: flex; gap: 18px; }
.site-footer .links a { color: #fff; font-weight: 500; }

/* Legal page (privacy.html) */
.legal-page { padding: 64px 0 96px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: 30px; color: var(--teal-900); margin-bottom: 8px; }
.legal-page .meta { color: var(--ink-3); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; color: var(--teal-900); margin: 40px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--ink-2); }
.legal-page ul { padding-left: 20px; margin: 8px 0; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-page th { background: var(--teal-50); color: var(--teal-900); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.draft-notice {
  background: #FFF7E0; border: 1px solid #F1D98A; color: #6B5300;
  padding: 14px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; gap: 36px; }
  .app-visual img { width: 160px; height: 160px; border-radius: 36px; }
  .info { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .brand .brand-en { display: none; }
  .hero { padding: 64px 0 60px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-head h2, .app h2 { font-size: 26px; }
  .features { grid-template-columns: 1fr; }
  .info dl { grid-template-columns: 96px 1fr; font-size: 14px; }
  .site-footer .container { flex-direction: column; }
}
@media (max-width: 400px) {
  .nav a:nth-child(3) { display: none; }
}
