/* ============================================================
   TINTLIFE — shared base (tokens, chrome, footer)
   Linked by every page; page-specific section CSS stays inline.
   ============================================================ */
:root {
  --bh: 298;            /* brand hue   */
  --bc: 0.13;           /* brand chroma */
  --brand:       oklch(0.47 var(--bc) var(--bh));
  --brand-deep:  oklch(0.33 calc(var(--bc) * 0.9) var(--bh));
  --brand-ink:   oklch(0.44 var(--bc) var(--bh));
  --brand-soft:  oklch(0.95 0.035 var(--bh));

  --bg:        #ffffff;
  --bg-soft:   oklch(0.965 0.004 300);
  --ink:       oklch(0.27 0.012 290);
  --ink-2:     oklch(0.40 0.012 290);
  --muted:     oklch(0.53 0.012 290);
  --line:      oklch(0.90 0.005 290);
  --dark:      oklch(0.20 0.012 295);

  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, "SF Mono", monospace;

  --container: 1160px;
  --gutter: 24px;
  --section-y: clamp(64px, 8.5vw, 110px);
  --btn-radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; word-break: keep-all;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; word-break: keep-all; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--brand-soft); }

/* ---- grid container + helpers ---- */
.tl-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.tl-section { padding-block: var(--section-y); }
.tl-section--soft { background: var(--bg-soft); }
.tl-center { text-align: center; margin-inline: auto; }
.tl-center-body { margin-top: 20px; margin-inline: auto; max-width: 620px; }

/* ---- type scale ---- */
.tl-h2 { font-size: clamp(25px, 3.1vw, 37px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.32; color: var(--ink); }
.tl-h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; color: var(--ink); }
.tl-body { margin-top: 18px; font-size: 15.5px; line-height: 1.9; color: var(--muted); }
.tl-price { margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--brand-ink); letter-spacing: -0.01em; }

/* ============================================================ Buttons ============================================================ */
.tl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  padding: 12px 24px; border-radius: var(--btn-radius); cursor: pointer;
  text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.tl-btn--full { width: 100%; }
.tl-btn--line { background: transparent; color: var(--ink); border-color: oklch(0.78 0.01 290); }
.tl-btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tl-btn--lineLight { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.tl-btn--lineLight:hover { background: #fff; color: var(--ink); }
.tl-btn--solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.tl-btn--solid:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); }

/* ============================================================ Header ============================================================ */
.tl-header { position: sticky; top: 0; z-index: 50; background: #fff;
  border-top: 2px solid #e8e1cf;
  transition: box-shadow .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.tl-header.is-scrolled { box-shadow: 0 1px 0 var(--line); border-color: var(--line); }

/* sub-nav bars (e.g. .ed-tabs) stick right below the fixed header */
.ed-tabs { position: sticky; top: var(--tl-header-h, 0px); z-index: 40; }

.tl-utility { padding-top: 24px; }
.tl-utility-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.tl-badge { grid-column: 2; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; }
.tl-badge-name { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; color: var(--ink); }
.tl-badge--img { gap: 0; }
.tl-badge-logo { display: block; width: 157px; height: 156px; }

.tl-more { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 16px;
  background: var(--brand); color: #fff; text-decoration: none; white-space: nowrap;
  font-size: 15.5px; font-weight: 600; letter-spacing: 0.01em; padding: 18px 30px; border-radius: 999px;
  transition: background .2s ease, transform .2s ease; }
.tl-more:hover { background: var(--brand-deep); transform: translateY(-1px); }
.tl-more-arrow { display: block; flex: none; }

.tl-navbar { display: flex; align-items: center; justify-content: center; padding: 4px 0 20px; position: relative; }
.tl-navlinks { display: flex; align-items: center; gap: 0; }
.tl-navlink {
  display: inline-flex; align-items: center; text-decoration: none;
  font-size: 15.5px; font-weight: 500; color: #3a3340; letter-spacing: -0.01em;
  padding: 8px 28px; transition: color .15s ease; white-space: nowrap;
}
.tl-navlink:hover { color: var(--brand-ink); }
.tl-navlink.is-active { color: var(--brand-ink); font-weight: 600; }
.tl-navsep { flex: none; width: 1px; height: 13px; background: #d7d2dd; }
.tl-nav-edu { display: inline-flex; align-items: center; position: relative; }
.tl-dropdown {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  min-width: 176px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(40,30,55,.14); padding: 6px; display: flex; flex-direction: column;
}
.tl-dropitem { padding: 9px 13px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 500;
  color: var(--ink); white-space: nowrap; transition: background .15s ease; }
.tl-dropitem:hover { background: var(--brand-soft); color: var(--brand-ink); }
.tl-burger { display: none; position: absolute; right: 0; background: none; border: none; cursor: pointer; color: var(--ink); padding: 10px 12px; }
.tl-util-right { display: flex; align-items: center; gap: 4px; justify-content: flex-end; grid-column: 3; }
.tl-mburgerbtn { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 8px 10px; align-items: center; -webkit-appearance: none; appearance: none; outline: none; box-shadow: none; border-radius: 0; -webkit-tap-highlight-color: transparent; }

/* mobile drawer */
.tl-drawer-root { position: fixed; inset: 0; z-index: 60; }
.tl-drawer-scrim { position: absolute; inset: 0; background: rgba(25,18,35,.42); }
.tl-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); background: #fff;
  padding: 20px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; box-shadow: -18px 0 50px rgba(25,18,35,.22); }
.tl-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tl-drawer-x { background: none; border: none; cursor: pointer; color: var(--ink); }
.tl-mlink { text-align: left; background: none; border: none; cursor: pointer; display: block; width: 100%;
  padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; font-weight: 600; color: var(--ink); }
.tl-mlink--sub { font-size: 14.5px; font-weight: 500; color: var(--muted); padding-left: 14px; border-bottom: none; }

/* ============================================================ Full-bleed band (parallax base) ============================================================ */
.tl-band { position: relative; min-height: clamp(320px, 42vw, 480px); display: flex; align-items: center; overflow: hidden; }
.tl-band--parallax { background-size: cover; background-position: center 35%; background-attachment: fixed; background-repeat: no-repeat; }
.tl-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-band-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,14,28,.1) 0%, rgba(20,14,28,.25) 60%, rgba(20,14,28,.5) 100%); }
.tl-band-in { position: relative; width: 100%; display: flex; justify-content: flex-end; }
.tl-band-copy { max-width: 460px; color: #fff; text-align: right; }
.tl-band-title { font-size: clamp(24px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; }
.tl-band-sub { margin-top: 16px; font-size: clamp(13.5px, 1.5vw, 15.5px); line-height: 1.85; color: rgba(255,255,255,.9); }

/* ============================================================ 창업문의 band (above footer, all pages) ============================================================ */
.tl-fcta { background: #f4efe7; padding: clamp(58px, 8vw, 104px) 20px; text-align: center; }
.tl-fcta-in { max-width: 760px; margin-inline: auto; }
.tl-fcta-kicker { font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.24em; color: var(--brand-ink); }
.tl-fcta-title { margin-top: 18px; font-size: clamp(26px, 3.7vw, 42px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.3; color: var(--ink); }
.tl-fcta-title em { font-style: normal; color: var(--brand-ink); }
.tl-fcta-sub { margin-top: 20px; font-size: clamp(13.5px, 1.6vw, 16px); line-height: 1.85; color: var(--ink-2); letter-spacing: -0.01em; }
.tl-fcta-btn { display: inline-flex; align-items: center; gap: 11px; margin-top: clamp(28px, 3.8vw, 42px);
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  padding: 16px 40px; border-radius: 999px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.tl-fcta-btn:hover { background: var(--brand-deep); transform: translateY(-1px); }
.tl-fcta-btn svg { display: block; }

/* ============================================================ Footer (violet) ============================================================ */
.tl-footer { background: var(--brand-deep); color: rgba(255,255,255,.78); text-align: center; padding-block: 44px 40px; position: relative; }
.tl-foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 8px; }
.tl-foot-link { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.85); text-decoration: none; padding: 6px 12px; border-radius: 6px; transition: background .15s ease; }
.tl-foot-link:hover { background: rgba(255,255,255,.12); }
.tl-foot-kakao { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 9px 16px; border-radius: 999px;
  background: #FEE500; color: #391B1B; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: filter .15s ease; }
.tl-foot-kakao:hover { filter: brightness(0.96); }
.tl-foot-up { display: inline-grid; place-items: center; width: 34px; height: 34px; margin: 18px auto 22px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.8); text-decoration: none; font-size: 11px; }
.tl-foot-info { font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,.7); max-width: 880px; margin-inline: auto; }
.tl-foot-copy { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: rgba(255,255,255,.5); }

/* scroll-to-top button */
.tl-totop { position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 71px; height: 71px; padding: 0; border: none; cursor: pointer; background: none;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.tl-totop img { width: 100%; height: 100%; display: block; }
.tl-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.tl-totop:hover { transform: translateY(-2px); }

/* ============================================================ Remote nav (fixed FAB + quick links) ============================================================ */
.tl-remote { position: fixed; right: 26px; bottom: 196px; z-index: 81; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.tl-remote-panel { width: 184px; background: #fff; border-radius: 16px; border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 16px 40px rgba(35,22,55,.24); transform-origin: bottom right; }
.tl-remote-head { background: var(--brand); color: #fff; padding: 13px 18px; font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; }
.tl-remote-rows { display: flex; flex-direction: column; }
.tl-remote-row { display: flex; align-items: center; gap: 13px; padding: 14px 16px; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); transition: background .15s ease; }
.tl-remote-row:last-child { border-bottom: none; }
.tl-remote-row:hover { background: var(--brand-soft); }
.tl-remote-row-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink); transition: background .15s ease, color .15s ease; }
.tl-remote-row:hover .tl-remote-row-ic { background: var(--brand); color: #fff; }
.tl-remote-row-label { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.tl-remote-row-arrow { margin-left: auto; color: oklch(0.7 0.01 290); transition: transform .15s ease, color .15s ease; }
.tl-remote-row:hover .tl-remote-row-arrow { color: var(--brand-ink); transform: translateX(2px); }
.tl-remote-fab { position: relative; width: 71px; height: 71px; border: none; cursor: pointer; border-radius: 999px;
  background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(91,45,142,.42);
  display: grid; place-items: center; transition: background .2s ease, transform .2s ease; }
.tl-remote-fab:hover { background: var(--brand-deep); transform: translateY(-2px); }
.tl-remote-fab-label { font-size: 13px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; text-align: center;
  transition: opacity .18s ease, transform .18s ease; }
.tl-remote-fab-close { position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: rotate(-45deg) scale(.6); transition: opacity .18s ease, transform .22s ease; }
.tl-remote.is-open .tl-remote-fab-label { opacity: 0 !important; transform: scale(.6) !important; }
.tl-remote.is-open .tl-remote-fab-close { opacity: 1 !important; transform: rotate(0) scale(1) !important; }
.tl-remote-fab svg { display: block; }

/* Kakao channel FAB (fixed, below 창업문의) */
.tl-kakao-fab { position: fixed; right: 26px; bottom: 111px; z-index: 81; width: 71px; height: 71px; border-radius: 999px;
  background: #FEE500; color: #391B1B; box-shadow: 0 10px 26px rgba(230,180,0,.4);
  display: grid; place-items: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.tl-kakao-fab:hover { transform: translateY(-2px); }
.tl-kakao-fab-label { font-size: 12px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-align: center; }

/* ============================================================ Responsive (chrome) ============================================================ */
@media (max-width: 920px) {
  .tl-navlinks { display: none; }
  .tl-more { display: none; }
  .tl-burger { display: inline-flex; }
  .tl-navbar { display: none; }
  .tl-util-spacer { display: none; }
  .tl-mburgerbtn { display: inline-flex; }
  .tl-band-in { justify-content: flex-start; }
  .tl-band-copy { text-align: left; }
  .tl-band-scrim { background: linear-gradient(90deg, rgba(20,14,28,.55), rgba(20,14,28,.25)); }
  .tl-band--parallax { background-attachment: scroll; background-position: center 40%; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .tl-totop { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .tl-remote { right: 16px; bottom: 144px; }
  .tl-remote-fab { width: 52px; height: 52px; }
  .tl-kakao-fab { right: 16px; bottom: 80px; width: 52px; height: 52px; }
  .tl-kakao-fab-label { font-size: 10px; }
}
