/* ponytail: 폰트 CDN 미검증으로 폴백 사용, 실제 폰트 라이선스 확보 후 교체 */

:root {
  --color-ink: #1E293B;
  --color-bg: #F8FAFC;
  --color-accent: #10B981;
  --color-accent-dark: #0B7A56;
  --color-surface: #FFFFFF;
  --color-border: #CBD5E1;

  --font-heading: 'Paperlogy', 'Pretendard', 'Noto Sans KR', sans-serif;
  --font-body: 'Pretendard', 'Noto Sans KR', sans-serif;

  /* type scale ratio 1.250 */
  --fs-body: 1rem;
  --fs-small: 0.85rem;
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.563rem);
  --fs-h2: clamp(1.5rem, 1.3rem + 1vw, 1.953rem);
  --fs-h1: clamp(1.953rem, 1.6rem + 1.6vw, 2.75rem);

  --radius: 12px;
  --section-pad: 64px;

  --header-h: 68px;
}

@media (min-width: 640px) {
  :root { --section-pad: 80px; }
}

@media (min-width: 1024px) {
  :root { --section-pad: 96px; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.3;
  margin: 0 0 0.6em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-top: 1.6em; }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1280px) {
  .container { padding: 0 32px; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a { color: var(--color-accent-dark); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--color-ink);
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: var(--color-accent);
  color: #06281C;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.7em 1.2em;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-call:hover { background: #0EA377; }

.btn-call--header { padding: 0.55em 1em; font-size: 0.9rem; }

/* ---------- hero ---------- */

.hero {
  padding: 40px 0 var(--section-pad);
  background: linear-gradient(180deg, #EEF2F6 0%, var(--color-bg) 100%);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 0 32px;
  }
}

.hero-copy {
  animation: hero-rise 0.6s ease-out both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
}

.eyebrow {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5em;
}

.hero-summary {
  font-size: 1.05rem;
  max-width: 42em;
}

.btn-call--hero {
  font-size: 1.05rem;
  padding: 0.85em 1.6em;
  margin: 0.6em 0 2em;
}

.check-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  max-width: 360px;
  box-shadow: 0 8px 24px -12px rgba(30, 41, 59, 0.25);
}

.check-card-title {
  font-weight: 700;
  margin: 0 0 0.8em;
  color: var(--color-ink);
}

.check-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65em;
  font-size: 0.92rem;
}

.check-card-list li {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.check-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--color-accent);
  flex: none;
}

.hero-visual {
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

/* ---------- sections ---------- */

.section {
  padding: var(--section-pad) 0;
}

.section-axis h2:first-of-type { margin-top: 0; }

.section-lead {
  max-width: 60em;
}

.section-diagram {
  background: var(--color-surface);
}

.route-diagram {
  width: 100%;
  height: auto;
  margin-top: 24px;
}

/* ---------- table ---------- */

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--color-surface);
}

caption {
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  background: #EEF2F6;
  border-bottom: 1px solid var(--color-border);
}

th, td {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--color-border);
}

thead th {
  background: var(--color-ink);
  color: var(--color-bg);
  font-weight: 700;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #F1F5F9; }

/* ---------- photos ---------- */

.photo-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .photo-grid {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
}

.photo-item {
  margin: 0;
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .photo-item { margin-inline: 0; }
}

.photo-item picture,
.photo-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.photo-item figcaption {
  font-size: var(--fs-small);
  color: #475569;
  margin-top: 0.6em;
  line-height: 1.5;
}

/* ---------- faq ---------- */

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
}

.faq-list p {
  margin-top: 0.8em;
  margin-bottom: 0;
  color: #334155;
}

/* ---------- cta ---------- */

.cta-block {
  background: var(--color-ink);
  color: var(--color-bg);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
}

.cta-block h2 { color: var(--color-bg); }
.cta-block p { color: #CBD5E1; }

.btn-call--cta {
  font-size: 1.05rem;
  padding: 0.85em 1.8em;
  margin-top: 0.5em;
}

/* ---------- footer ---------- */

.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.related-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
  text-decoration: none;
}

.related-links a:hover { color: var(--color-accent); }

.biz-info {
  font-size: 0.82rem;
  margin: 0;
  color: #64748B;
}
