/* ==========================================================================
   TUK JABI (툭자비) — 공식 웹사이트 공통 스타일
   도메인: https://tukjabi.com   ·   정적 파일만 사용(외부 CDN·추적 없음)
   ========================================================================== */
:root {
  --emerald: #0E7C5A;
  --emerald-deep: #0A5F45;
  --bright: #00C853;
  --mint: #E8F5E9;
  --mint-soft: #F3FBF6;
  --ink: #0E1F18;
  --body: #3C4A43;
  --muted: #6B7A72;
  --line: #DFE9E3;
  --white: #FFFFFF;
  --warn-bg: #FFF7E8;
  --warn-line: #F0C36D;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(14, 31, 24, .06), 0 6px 18px rgba(14, 31, 24, .05);
  --shadow: 0 10px 40px rgba(14, 31, 24, .10);
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui,
          -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.72;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px;
  min-height: 68px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand img.emblem { width: 40px; height: auto; }
.brand img.wordmark { width: 96px; height: auto; }
.brand .ko { font-size: 13px; color: var(--muted); letter-spacing: .02em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--body); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--emerald); text-decoration: none; }
.nav .nav-cta {
  padding: 9px 16px; border-radius: 999px;
  background: var(--emerald); color: #fff; font-weight: 700;
}
.nav .nav-cta:hover { background: var(--emerald-deep); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #F4FBF7 0%, #FFFFFF 55%, #F1FAF4 100%);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; right: -160px; top: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0,200,83,.16), rgba(0,200,83,0) 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  align-items: center; padding-top: 72px; padding-bottom: 76px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--emerald); background: var(--mint);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 18px; color: var(--ink);
  font-size: clamp(30px, 4.1vw, 46px); line-height: 1.28; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--emerald); }
.hero p.lead { margin: 0 0 14px; font-size: 18px; color: #465750; }
.hero p.sub { margin: 0 0 28px; font-size: 15px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--bright); color: #06301C; }
.btn-primary:hover { background: #00b34a; }
.btn-ghost { background: #fff; color: var(--emerald); border-color: #CFE6DA; }
.btn-ghost:hover { background: var(--mint-soft); }

.hero-visual { display: flex; justify-content: center; gap: 16px; }
.phone {
  width: 228px; border-radius: 26px; overflow: hidden;
  border: 8px solid #10221A; background: #10221A;
  box-shadow: 0 24px 60px rgba(10, 60, 40, .22);
}
.phone.tilt-left { transform: rotate(-4deg) translateY(14px); }
.phone.tilt-right { transform: rotate(3deg) translateY(-6px); }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding-top: 26px; padding-bottom: 26px;
}
.trust { display: flex; gap: 12px; align-items: flex-start; }
.trust b { display: block; color: var(--ink); font-size: 16px; }
.trust span { font-size: 13.5px; color: var(--muted); }
.trust .dot {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  background: var(--mint); color: var(--emerald);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}

/* ---------- sections ---------- */
section { padding: 78px 0; }
section.soft { background: var(--mint-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head .kicker {
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 10px;
}
h2 { margin: 0 0 12px; color: var(--ink); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.32; letter-spacing: -.015em; }
h3 { margin: 0 0 8px; color: var(--ink); font-size: 19px; }
p.sec-sub { margin: 0; color: var(--muted); font-size: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card .step-no {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--emerald); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 14px;
}
.card p { margin: 0; font-size: 15px; color: var(--body); }
.card .hint { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ---------- fare ---------- */
.fare-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.fare-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.fare-card h3 { padding: 20px 22px 0; margin: 0 0 4px; }
.fare-card .cap { padding: 0 22px 14px; margin: 0; font-size: 13.5px; color: var(--muted); }
table.fare { width: 100%; border-collapse: collapse; font-size: 15px; }
table.fare th, table.fare td { padding: 11px 22px; text-align: left; border-top: 1px solid #EEF4F0; }
table.fare th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: #FAFDFB; }
table.fare td.php { text-align: right; font-weight: 800; color: var(--emerald); white-space: nowrap; }
table.fare tbody tr:hover { background: #FAFDFB; }
.fare-side { display: grid; gap: 16px; }
.fare-side .card { padding: 22px; }
.fare-side .big { font-size: 30px; font-weight: 800; color: var(--emerald); line-height: 1.1; }
.fare-side .big small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; }

/* ---------- notice ---------- */
.notice {
  border: 1px solid var(--warn-line); background: var(--warn-bg);
  border-radius: var(--radius); padding: 24px 24px 22px;
}
.notice h3 { margin: 0 0 10px; font-size: 17px; color: #7A4E06; }
.notice p { margin: 0 0 10px; font-size: 15px; color: #5F4A24; }
.notice p:last-child { margin-bottom: 0; }
.notice .quote {
  border-left: 4px solid var(--warn-line); margin: 12px 0 0; padding: 6px 0 6px 14px;
  font-size: 14.5px; color: #4E3D1F;
}

/* ---------- languages / driver ---------- */
.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lang-chip {
  padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--body);
}
.lang-chip b { color: var(--emerald); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15.5px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint);
  box-shadow: inset 0 0 0 2px var(--emerald);
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: 11px; width: 8px; height: 4px;
  border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg);
}

.figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.figure figcaption { font-size: 13px; color: var(--muted); padding: 10px 6px 2px; text-align: center; }
.figure.tall img { max-width: 292px; margin: 0 auto; border-radius: 12px; }

/* ---------- download ---------- */
.download {
  background: linear-gradient(135deg, var(--emerald-deep), var(--emerald) 55%, #0D9A63);
  color: #fff; border-radius: 24px; padding: 44px; display: grid;
  grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
}
.download h2 { color: #fff; }
.download p { color: #D9F5E6; margin: 0 0 8px; font-size: 15.5px; }
.download .apps { display: grid; gap: 12px; }
.app-slot {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px; padding: 14px 16px;
}
.app-slot .ic { width: 34px; height: 34px; border-radius: 9px; background: #fff; display: grid; place-items: center; color: var(--emerald); font-weight: 800; }
.app-slot b { display: block; font-size: 15px; }
.app-slot span { font-size: 12.5px; color: #C8EEDB; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-grid .card b { display: block; color: var(--ink); margin-bottom: 4px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #FBFDFC; padding: 44px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .biz { line-height: 1.9; }
.site-footer .biz b { color: var(--body); font-weight: 600; }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; align-content: start; justify-content: flex-end; }
.site-footer .links a { color: var(--body); font-weight: 600; }
.site-footer .copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }

/* ---------- legal documents ---------- */
.doc-hero { background: linear-gradient(160deg, #F4FBF7, #FFFFFF); border-bottom: 1px solid var(--line); padding: 52px 0 44px; }
.doc-hero .wrap { max-width: 1120px; }
.doc-hero h1 { margin: 6px 0 10px; font-size: clamp(26px, 3.4vw, 36px); color: var(--ink); letter-spacing: -.02em; }
.doc-hero p { margin: 0; color: var(--muted); font-size: 15px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.doc-meta span { font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--body); }

.doc-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 48px; padding: 56px 0 84px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc h4 { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--body); border-left: 2px solid transparent; margin-left: -2px; font-size: 14px; }
.toc a:hover { color: var(--emerald); text-decoration: none; border-left-color: var(--bright); }

.doc { max-width: 780px; }
.doc h2 { font-size: 25px; margin: 46px 0 8px; padding-top: 10px; }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 17.5px; margin: 30px 0 8px; color: var(--emerald-deep); }
.doc p, .doc li { font-size: 15.5px; color: var(--body); }
.doc p { margin: 0 0 12px; }
.doc ol.legal, .doc ul.legal { padding-left: 20px; margin: 0 0 14px; }
.doc ol.legal > li, .doc ul.legal > li { margin-bottom: 7px; }
.doc strong { color: var(--ink); }
.doc blockquote {
  margin: 14px 0 18px; padding: 16px 18px; background: var(--mint-soft);
  border-left: 4px solid var(--emerald); border-radius: 0 12px 12px 0;
  font-size: 14.5px; color: #3A4B43;
}
.doc .en-summary { background: #F7F9F8; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 36px; }
.doc .en-summary h3 { margin-top: 0; color: var(--ink); }
.doc .en-summary ul { margin: 0; padding-left: 20px; }
.doc .en-summary li { font-size: 14.5px; margin-bottom: 6px; }
.doc .back-top { display: inline-block; margin-top: 24px; font-size: 14px; font-weight: 600; }
.doc-note { font-size: 13.5px !important; color: var(--muted) !important; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 56px; }
  .hero-visual { order: -1; }
  .phone { width: 170px; }
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .fare-layout, .split, .contact-grid, .download { grid-template-columns: 1fr; }
  .download { padding: 30px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer .links { justify-content: flex-start; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; }
  .toc { position: static; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #FBFDFC; }
  .toc ol { border-left: none; }
  .toc a { padding-left: 0; }
  .nav { gap: 14px; }
  .nav a:not(.nav-cta) { display: none; }
  section { padding: 54px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-visual { gap: 10px; }
  .phone { width: 44vw; border-width: 6px; border-radius: 20px; }
  .trust-strip .wrap { grid-template-columns: 1fr; }
  table.fare th, table.fare td { padding: 10px 14px; }
  .fare-card h3, .fare-card .cap { padding-left: 14px; padding-right: 14px; }
}

@media print {
  .site-header, .site-footer, .toc, .hero-actions { display: none; }
  body { font-size: 11pt; }
  .doc-layout { display: block; padding: 0; }
}
