/* L-1 · 새 기본 틀 — Knowit Medi colours on the LAYOUT&MOTION system (DriveBerry-style layout and motion).
   Page states, set on <html> by l1-page.js (nothing here depends on the board template's classes):
     data-l1-mode="live"    real scrolling, wide (>= 900 px), scroll-driven animation supported, motion allowed:
                            the hero is a pinned runway (3D logo rises out, the phone comes up and moves aside).
     data-l1-mode="poster"  wide but not live (the canvas view, older browsers, reduced motion): every section
                            shows its finished composition, standing still.
     data-l1-mode="plain"   narrow screens: one column.
     data-l1-motion="on"    scroll-driven entrances and fills are allowed (any width).
     data-l1-flight="on"    the 3D logo flies (menu bar hidden until the main screen arrives, then the logo lands in it).
     data-l1-pin="off"      하는 일: a white card would not fit under the tabs in this window, so it scrolls with its row.
   With no attribute at all (script not running) the page reads as poster / plain by width. */

/* ---------- tokens ---------- */
.l1 {
  --l-deep: #0e6b5a;
  --l-deep-2: #0a5547;
  --l-teal: #2ba68c;
  --l-mint: #7fe0cd;
  --l-mint-soft: #bff3e7;
  --l-mint-paper: #eaf8f4;
  --l-mint-shape: #d4f4ec;
  --l-sky: #4280e4;
  --l-sky-strong: #2b66d0;
  --l-sky-soft: #e3eeff;
  --l-sky-text: #1f55b5;
  --l-orange: #f15f3d;
  --l-orange-soft: #ffe7de;
  --l-orange-text: #b23a1e;
  --l-peach: #ffe9df;
  --l-ink: #122149;
  --l-ink-2: #4f5b73;
  --l-ink-3: #7b8597;
  --l-line: #d9e6e1;
  --l-cell: #eef2f8;
  --l-bg: #eef8f4;
  --l-sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --l-display: "Ubuntu", "Pretendard", "Apple SD Gothic Neo", system-ui, sans-serif;
  --l-ui: -apple-system, "SF Pro Text", "Pretendard", system-ui, sans-serif;
  --l-ease: cubic-bezier(0.625, 0.05, 0, 1);
  --l-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
  --l-shadow-soft: 0 3.104px 12.432px rgba(0, 0, 0, 0.06);
  --l-shadow-float: 0 3px 12px rgba(0, 0, 0, 0.06), 0 26px 52px -26px rgba(14, 84, 70, 0.38);
  --l-r-card: 20px;
  --l-r-panel: 24px;
  --l-r-media: 32px;
  position: relative;
  min-width: 320px;
  overflow-x: clip;
  background: var(--l-bg);
  color: var(--l-ink);
  font-family: var(--l-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  interpolate-size: allow-keywords;
}
:where(.l1) *, :where(.l1) *::before, :where(.l1) *::after { box-sizing: border-box; }
:where(.l1) img, :where(.l1) svg { display: block; max-width: 100%; }
:where(.l1) a { color: inherit; text-decoration: none; }
:where(.l1) p, :where(.l1) h1, :where(.l1) h2, :where(.l1) h3, :where(.l1) ol, :where(.l1) ul, :where(.l1) figure { margin: 0; }
:where(.l1) ol, :where(.l1) ul { padding: 0; list-style: none; }
.l1 :focus-visible { outline: 2px solid var(--l-sky); outline-offset: 2px; }
.l1-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.l1-wrap { width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
.l1 .is-off { display: none; }

/* ---------- type ---------- */
.l1-h1 { font-size: 54px; line-height: 1.18; font-weight: 700; letter-spacing: -0.035em; color: var(--l-deep); text-wrap: balance; }
.l1-h2 { font-size: 44px; line-height: 1.24; font-weight: 700; letter-spacing: -0.032em; color: var(--l-deep); text-wrap: balance; }
.l1-h3 { font-size: 32px; line-height: 1.32; font-weight: 700; letter-spacing: -0.03em; color: var(--l-deep); text-wrap: balance; }
.l1-h1 em, .l1-h2 em, .l1-h3 em { font-style: normal; color: var(--l-teal); }
/* the English page sets its three-line headline a touch smaller so “Every step in between.” keeps to one line */
@media (min-width: 1025px) { .l1[lang="en"] .l1-h1 { font-size: 50px; } }
.l1-lead { font-size: 18px; line-height: 1.72; color: var(--l-ink-2); }
.l1-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; background: #ffffff; box-shadow: var(--l-shadow-soft); font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: 0; color: var(--l-deep); }
.l1-pill svg { width: 15px; height: 15px; }
.l1-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--l-orange); }
.l1-num { font-family: var(--l-display); font-weight: 700; letter-spacing: 0; }
.l1-todo { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: var(--l-orange-soft); font-size: 12px; line-height: 1.5; font-weight: 700; color: var(--l-orange-text); vertical-align: 1px; }

/* ---------- buttons: colour change + a fill that sweeps in from the left ---------- */
.l1-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--l-deep); color: #ffffff; font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; transition: color 0.25s ease, transform 0.2s ease; }
.l1-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--l-ink); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.6s var(--l-ease); }
.l1-btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.l1-btn:active { transform: scale(0.98); }
.l1-btn svg { flex: none; width: 18px; height: 18px; transition: transform 0.4s var(--l-ease); }
.l1-btn:hover svg { transform: translateX(3px); }
.l1-btn--sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.l1-btn--ghost { background: #ffffff; color: var(--l-deep); box-shadow: inset 0 0 0 1px var(--l-line); }
.l1-btn--ghost::before { background: var(--l-mint-paper); }
.l1-btn--soft { height: 46px; padding: 0 18px; border-radius: 12px; background: var(--l-mint-paper); color: var(--l-deep); font-size: 15px; }
.l1-btn--soft::before { background: var(--l-mint-soft); }
.l1-btn--light { background: #ffffff; color: var(--l-deep); }
.l1-btn--light::before { background: var(--l-mint-soft); }
.l1-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--l-deep); }
.l1-link i { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 8px; background: var(--l-deep); color: #ffffff; transition: transform 0.4s var(--l-ease); }
.l1-link i svg { width: 14px; height: 14px; }
.l1-link:hover i { transform: translateY(3px); }

/* ---------- menu bar: a floating pill ---------- */
.l1-head { position: absolute; left: 0; right: 0; top: 16px; z-index: 50; pointer-events: none; }
.l1-head__bar { pointer-events: auto; display: flex; align-items: center; gap: 24px; width: min(1180px, calc(100% - 48px)); height: 64px; margin: 0 auto; padding: 0 12px 0 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--l-shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.l1-brand { flex: none; display: flex; align-items: center; height: 40px; }
.l1-brand__img { width: auto; height: 24px; }
.l1-nav { flex: 1; display: flex; justify-content: center; gap: 4px; }
.l1-nav a { padding: 9px 14px; border-radius: 10px; font-size: 15px; line-height: 1.2; font-weight: 600; color: var(--l-ink-2); transition: background 0.2s ease, color 0.2s ease; }
.l1-nav a:hover { background: var(--l-mint-paper); color: var(--l-deep); }
.l1-head__end { flex: none; display: flex; align-items: center; gap: 10px; margin-left: auto; }
.l1-lang { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--l-cell); font-family: var(--l-display); font-size: 12px; line-height: 1; font-weight: 700; }
.l1-lang > b, .l1-lang > span { position: relative; display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; color: var(--l-ink-3); }
.l1-lang > b { background: #ffffff; color: var(--l-deep); box-shadow: var(--l-shadow-soft); }
.l1-lang > span { cursor: default; }
.l1-lang > a { position: relative; display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; color: var(--l-ink-3); text-decoration: none; transition: color 0.2s ease; }
.l1-lang > a:hover { color: var(--l-deep); }
.l1-lang i { position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 4px; padding: 5px 9px; border-radius: 8px; background: var(--l-ink); font-family: var(--l-sans); font-style: normal; font-size: 12px; font-weight: 600; color: #ffffff; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, translate 0.3s var(--l-ease); }
.l1-lang > span:hover i { opacity: 1; translate: -50% 0; }
html[data-l1-scroll="on"] .l1-head { position: fixed; }
.l1-crew, .l1-service, .l1-process, .l1-korea, .l1-faq, .l1-foot { scroll-margin-top: 84px; }
html[data-l1-flight="on"] .l1-head__bar { transition: transform 0.55s var(--l-ease), opacity 0.35s ease; }
html[data-l1-flight="on"]:not([data-l1-head="on"]) .l1-head__bar { transform: translateY(-150%); opacity: 0; pointer-events: none; }
html[data-l1-flight="on"] .l1-brand__img { opacity: 0; transition: none; }
html[data-l1-flight="on"][data-l1-dock="on"] .l1-brand__img { opacity: 1; transition: opacity 0.2s ease; }

/* ---------- hero: intro (the 3D logo) + main screen ---------- */
.l1-hero { position: relative; }
.l1-hero__stage { position: relative; overflow: clip; background: linear-gradient(180deg, #f8fcfb 0%, #f1faf6 62%, var(--l-bg) 100%); }
.l1-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.l1-blob { position: absolute; border-radius: 50%; animation: l1-wander 11s ease-in-out infinite alternate; }
.l1-blob--mint { left: -12%; top: -22%; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(176, 236, 219, 0.9), rgba(176, 236, 219, 0)); }
.l1-blob--sky { right: -14%; top: 12%; width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(205, 222, 255, 0.95), rgba(205, 222, 255, 0)); animation-delay: -4s; }
.l1-blob--peach { left: 24%; bottom: -26%; width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; background: radial-gradient(closest-side, rgba(255, 224, 211, 0.85), rgba(255, 224, 211, 0)); animation-delay: -7s; }
@keyframes l1-wander { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(3vw, 2vw) scale(1.06); } 100% { transform: translate(-2vw, 3vw) scale(0.96); } }

.l1-intro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 760px; padding-top: 48px; text-align: center; }
.l1-intro__mark { position: relative; width: min(900px, 64vw); }
.l1-intro__mark::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -26px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 107, 90, 0.16), rgba(14, 107, 90, 0)); }
.l1-intro__logo { width: 100%; height: auto; }
html[data-l1-3d="on"] .l1-intro__logo, html[data-l1-3d="on"] .l1-intro__mark::after { visibility: hidden; }
/* the two surfaces the 3D logo draws in (l1-logo3d.js): in the intro block, or over the whole window while it flies */
.l1-logo3d { position: absolute; left: 0; top: 0; z-index: 2; display: none; width: 100%; height: 100%; pointer-events: none; }
.l1-fly { position: fixed; left: 0; top: 0; z-index: 60; display: none; width: 100%; height: 100%; pointer-events: none; transition: opacity 0.2s ease; }
html[data-l1-3d="on"][data-l1-flight="off"] .l1-logo3d { display: block; }
html[data-l1-3d="on"][data-l1-flight="on"] .l1-fly { display: block; }
.l1-intro__line { margin-top: 64px; font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--l-ink-2); }
.l1-intro__hint { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1; font-weight: 600; color: var(--l-deep); }
.l1-intro__hint i { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--l-deep); color: #ffffff; animation: l1-bob 3s ease-in-out infinite; }
.l1-intro__hint svg { width: 15px; height: 15px; }
@keyframes l1-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.l1-home { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 64px; width: min(1200px, calc(100% - 96px)); min-height: 860px; margin: 0 auto; padding: 20px 0 110px; }
.l1-home__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.l1-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.l1-note { font-size: 13px; line-height: 1.5; color: var(--l-ink-3); }
.l1-home__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 700px; }
.l1-vrise, .l1-vshift { position: relative; }
.l1-visual { position: relative; width: 300px; height: 620px; zoom: var(--l1-vz, 1); }
.l1-example { position: absolute; left: 50%; bottom: -36px; translate: -50% 0; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--l-ink-3); white-space: nowrap; }

/* ---------- phone ---------- */
.l1-phone { position: absolute; inset: 0; padding: 3px; border-radius: 50px; background: linear-gradient(140deg, #f4f6f8 0%, #c3c9d1 22%, #eef1f4 46%, #a9b1bb 72%, #e8ebef 100%); box-shadow: 0 54px 90px -42px rgba(10, 52, 45, 0.6), 0 18px 36px -18px rgba(18, 33, 73, 0.32); }
.l1-phone::before, .l1-phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #d3d8de, #9aa3ad); }
.l1-phone::before { left: -2px; top: 116px; height: 30px; box-shadow: 0 48px 0 0 #b4bbc4, 0 96px 0 0 #b4bbc4; }
.l1-phone::after { right: -2px; top: 170px; height: 72px; }
.l1-phone__bezel { height: 100%; padding: 8px; border-radius: 47px; background: #0b0d12; }
.l1-phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: clip; border-radius: 39px; background: #ffffff; font-family: var(--l-ui); }
.l1-island { position: absolute; z-index: 3; left: 50%; top: 10px; width: 88px; height: 25px; margin-left: -44px; border-radius: 999px; background: #0b0d12; }
.l1-sb { flex: none; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 2px 24px 0 30px; font-size: 14px; line-height: 1; font-weight: 600; color: #11151d; }
.l1-sb svg { width: 52px; height: 12px; }

/* hero phone: a messenger thread */
.l1-app { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #f3f6f9; }
.l1-app__top { flex: none; display: flex; align-items: center; gap: 9px; padding: 2px 14px 10px 10px; background: #ffffff; box-shadow: 0 1px 0 #e8edf2; }
.l1-app__back { width: 20px; height: 20px; color: var(--l-sky-strong); }
.l1-app__ava { flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; width: 34px; height: 34px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 1px var(--l-line); font-family: var(--l-display); font-size: 12px; font-weight: 700; color: var(--l-deep); }
.l1 .l1-app__ava img { display: block; width: 80%; height: auto; max-width: none; }
.l1-app__who { min-width: 0; display: flex; flex-direction: column; }
.l1-app__who b { font-size: 14px; line-height: 1.25; font-weight: 700; color: #11151d; }
.l1-app__who span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; line-height: 1.3; color: #1f9a6a; }
.l1-app__who span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22b573; }
.l1-app__icons { display: flex; gap: 14px; margin-left: auto; color: var(--l-sky-strong); }
.l1-app__icons svg { width: 19px; height: 19px; }
.l1-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 10px 12px 10px; overflow: clip; }
.l1-day { align-self: center; padding: 3px 10px; border-radius: 999px; background: #e5ebf1; font-size: 10.5px; line-height: 1.4; font-weight: 600; color: #6b778a; }
.l1-msg { max-width: 84%; padding: 8px 12px; border-radius: 18px 18px 18px 6px; background: #ffffff; box-shadow: 0 1px 1px rgba(17, 21, 29, 0.05); font-size: 13px; line-height: 1.42; color: #11151d; }
.l1-msg small { display: block; margin-top: 4px; font-size: 10.5px; line-height: 1.3; color: #8590a2; }
.l1-msg--out { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--l-deep); color: #ffffff; }
.l1-msg--out small { color: rgba(255, 255, 255, 0.7); }
.l1-voice { display: flex; align-items: center; gap: 9px; }
.l1-voice__play { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.l1-voice__play svg { width: 11px; height: 11px; }
.l1-bars { display: flex; align-items: center; gap: 2px; height: 22px; }
.l1-bars i { width: 2.5px; border-radius: 2px; background: currentColor; opacity: 0.85; }
.l1-voice__t { font-size: 11px; opacity: 0.8; }
.l1-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 13px; border-radius: 18px 18px 18px 6px; background: #ffffff; }
.l1-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a3adbb; animation: l1-blink 1.5s ease-in-out infinite; }
.l1-typing i:nth-child(2) { animation-delay: 0.2s; }
.l1-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes l1-blink { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.l1-app__input { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px 20px; background: #ffffff; box-shadow: 0 -1px 0 #e8edf2; }
.l1-app__plus { flex: none; width: 22px; height: 22px; color: var(--l-ink-3); }
.l1-app__field { flex: 1; height: 34px; padding: 0 14px; border-radius: 17px; background: #f1f4f8; font-size: 12.5px; line-height: 34px; color: #9aa3b2; }
.l1-app__send { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--l-deep); color: #ffffff; }
.l1-app__send svg { width: 16px; height: 16px; }

/* glass notes around the hero phone */
.l1-glass { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.74); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: var(--l-shadow-float), inset 0 0 0 1px rgba(255, 255, 255, 0.85); white-space: nowrap; }
.l1-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; }
.l1-ic svg { width: 19px; height: 19px; }
.l1-ic--mint { background: var(--l-mint-paper); color: var(--l-deep); }
.l1-ic--sky { background: var(--l-sky-soft); color: var(--l-sky-text); }
.l1-ic--orange { background: var(--l-orange-soft); color: var(--l-orange-text); }
.l1-glass__tx { display: flex; flex-direction: column; font-size: 12px; line-height: 1.4; color: var(--l-ink-2); }
.l1-glass__tx b { font-size: 14px; line-height: 1.35; font-weight: 700; color: var(--l-ink); }
.l1-live { display: inline-flex; align-items: center; gap: 5px; }
.l1-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22b573; box-shadow: 0 0 0 0 rgba(34, 181, 115, 0.5); animation: l1-pulse 1.5s ease-out infinite; }
@keyframes l1-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 181, 115, 0.5); } 100% { box-shadow: 0 0 0 7px rgba(34, 181, 115, 0); } }
.l1-glass--a { left: -168px; top: 64px; }
.l1-glass--b { left: -226px; top: 300px; flex-direction: column; align-items: stretch; gap: 12px; width: 252px; padding: 14px 16px 16px; white-space: normal; }
.l1-glass--b .l1-glass__row { display: flex; align-items: center; gap: 12px; }
.l1-glass--c { right: -150px; bottom: 92px; }
.l1-stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.l1-stepper span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; line-height: 1.2; font-weight: 600; color: var(--l-ink-3); }
.l1-stepper span::before { content: ""; position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 2px var(--l-mint-shape); }
.l1-stepper span:not(:last-child)::after { content: ""; position: absolute; left: calc(50% + 9px); right: calc(-50% + 9px); top: 8px; height: 2px; background: var(--l-mint-shape); }
.l1-stepper .is-done { color: var(--l-deep); }
.l1-stepper .is-done::before { background: var(--l-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.l1-stepper .is-done:not(:last-child)::after { background: var(--l-teal); }
.l1-stepper .is-now { color: var(--l-ink); }
.l1-stepper .is-now::before { box-shadow: inset 0 0 0 2px var(--l-teal), 0 0 0 4px rgba(43, 166, 140, 0.18); }

/* ---------- partner band (kept for later: contracted hospitals) ---------- */
.l1-partners { padding: 24px 0 8px; }
.l1-mini { font-size: 14px; font-weight: 700; color: var(--l-deep); text-align: center; }
.l1-band { margin-top: 18px; }
.l1-band__track { display: grid; grid-template-columns: repeat(4, 168px); justify-content: center; gap: 14px; }
.l1-band__logo { display: flex; align-items: center; justify-content: center; width: 168px; height: 84px; border-radius: 18px; background: #ffffff; box-shadow: var(--l-shadow-card); font-size: 12.5px; font-weight: 600; color: var(--l-ink-3); }
.l1-slot-note { margin-top: 14px; font-size: 12.5px; color: var(--l-ink-3); text-align: center; }

/* ---------- what hospitals no longer chase: tiles (each written once, so each is edited in one place) ---------- */
.l1-relief { padding: 120px 0 104px; overflow: clip; }
.l1-center { text-align: center; }
.l1-tiles { margin-top: 56px; }
.l1-tiles__track { display: grid; grid-template-columns: repeat(4, 200px); justify-content: center; gap: 16px; padding: 6px 0 22px; }
.l1-tile { display: flex; flex-direction: column; justify-content: space-between; width: 200px; height: 158px; padding: 18px 18px 20px; border-radius: 18px; background: linear-gradient(160deg, #11796a 0%, var(--l-deep) 60%, #0b5f50 100%); box-shadow: 0 16px 30px -18px rgba(14, 107, 90, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12); color: #ffffff; }
.l1-tile b { font-size: 17px; line-height: 1.38; font-weight: 700; letter-spacing: -0.02em; }
.l1-tile svg { align-self: center; width: 34px; height: 34px; }

/* In a real window (not the canvas, where they stand still to be edited) the tiles and the partner logos run as one
   conveyor: every item takes the same loop a step apart, so the row never shows a gap without repeating any copy. */
@media (prefers-reduced-motion: no-preference) {
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-tiles { --n: 8; --w: max(200px, calc(100vw / 7 - 16px)); --step: calc(var(--w) + 16px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-tiles__track { position: relative; display: block; height: 186px; padding: 0; }
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-tile { position: absolute; left: 0; top: 6px; width: var(--w); animation: l1-conveyor 48s linear infinite; animation-delay: calc(-48s * (var(--n) - 1 - var(--i)) / var(--n)); }
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-band { --n: 8; --w: max(168px, calc(100vw / 7 - 14px)); --step: calc(var(--w) + 14px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-band__track { position: relative; display: block; height: 84px; }
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-band__logo { position: absolute; left: 0; top: 0; width: var(--w); animation: l1-conveyor 40s linear infinite; animation-delay: calc(-40s * (var(--n) - 1 - var(--i)) / var(--n)); }
}
@keyframes l1-conveyor { from { translate: calc(var(--step) * (var(--n) - 1)) 0; } to { translate: calc(var(--step) * -1) 0; } }

/* ---------- the dial ---------- */
.l1-gauge { padding: 24px 0 120px; }
.l1-gauge__inner { position: relative; width: min(820px, calc(100% - 32px)); margin: 0 auto; }
.l1-gauge__dial { width: 100%; height: auto; overflow: visible; }
.l1-gauge__sweep { stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.l1-gauge__needle { transform-box: view-box; transform-origin: 400px 380px; rotate: 380deg; }
.l1-gauge__copy { position: absolute; left: 50%; top: 60%; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 26px; width: min(560px, 86%); text-align: center; }

/* ---------- 하는 일: a sticky tab bar over four rows that come down one after another ----------
   01 일정 조율 → 02 통역·동행 → 03 이동·체류 → 04 귀국 후 연락 (the customer's order).
   In a scrolling window the tall card with the phone scrolls past while the white card beside it waits under the
   tabs; the next row comes in with the two cards swapped. The row in view has the white tab (l1-page.js), and a tab
   takes you to its row. html[data-l1-pin="off"] (set when a white card would not fit under the tabs in this window)
   lets the white card scroll with its row instead. A still window (the canvas) shows the four rows, cards top-aligned. */
.l1-service { padding: 112px 0 24px; }
.l1-service .l1-wrap { width: min(1280px, calc(100% - 96px)); }
.l1-sec-head { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 780px; margin: 0 auto; text-align: center; }
.l1-sec-head .l1-lead { max-width: 620px; }
.l1-tabs { position: sticky; top: 92px; z-index: 6; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 56px 0 24px; padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: var(--l-shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.85); }
.l1-tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: 13px; font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--l-ink-2); white-space: nowrap; transition: background 0.3s var(--l-ease), color 0.2s ease, box-shadow 0.3s ease; }
.l1-tabs a .l1-num { font-size: 13px; color: var(--l-ink-3); transition: color 0.2s ease; }
.l1-tabs a:hover { color: var(--l-deep); }
.l1-tabs a.is-on { background: #ffffff; color: var(--l-deep); font-weight: 700; box-shadow: var(--l-shadow-card); }
.l1-tabs a.is-on .l1-num { color: var(--l-teal); }

.l1-rows { position: relative; display: flex; flex-direction: column; gap: 96px; padding-bottom: 96px; }
.l1-row { position: relative; scroll-margin-top: 164px; }
.l1-row__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 12px; }
.l1-row--even .l1-g { order: 2; }
.l1-g { position: relative; height: 780px; overflow: clip; border-radius: 40px; isolation: isolate; }
/* a little taller than the window, as in the reference, so the white card stays put for a while */
html[data-l1-mode="live"] .l1-g { height: clamp(720px, calc(100vh + 20px), 1000px); }
.l1-g::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(48% 44% at 20% 16%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 70%), radial-gradient(52% 50% at 88% 94%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%); }
.l1-g--teal { background: linear-gradient(155deg, #0b5f50 0%, #128270 42%, #45bfa4 100%); }
.l1-g--sky { background: linear-gradient(155deg, #1c4fa8 0%, #2b66d0 44%, #79a6f2 100%); }
.l1-g--apricot { background: linear-gradient(155deg, #ffe4d3 0%, #ffbd99 38%, #f3774c 100%); }
.l1-g--night { background: linear-gradient(155deg, #0f1f47 0%, #12395c 46%, #158a72 100%); }
.l1-phone--card { inset: auto; left: 50%; top: 204px; width: 312px; height: 650px; margin-left: -156px; transition: translate 0.6s var(--l-ease); }
.l1-row:hover .l1-phone--card { translate: 0 -10px; }
.l1-badge { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 17px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.45); font-size: 14.5px; line-height: 1; font-weight: 700; color: var(--l-ink); white-space: nowrap; }
.l1-badge i { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--l-teal); color: #ffffff; }
.l1-badge i svg { width: 14px; height: 14px; }
/* as in our draft: one chip at the card's top left, one floating over the phone's right edge, below the screen's lines */
.l1-badge--tl { left: 28px; top: 28px; }
.l1-badge--br { right: calc(50% - 196px); top: 616px; }

.l1-t { position: sticky; top: 164px; display: flex; flex-direction: column; align-items: flex-start; padding: 52px 56px 48px; border-radius: 40px; background: #ffffff; box-shadow: var(--l-shadow-card); }
html[data-l1-pin="off"] .l1-t { position: relative; top: auto; }
.l1-t__tag { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--l-mint-paper); font-size: 13px; line-height: 1; font-weight: 700; color: var(--l-deep); }
.l1-t__tag .l1-num { color: var(--l-teal); }
.l1-t .l1-h3 { margin-top: 18px; font-size: 38px; line-height: 1.24; }
.l1-t .l1-h3 > span, .l1-t .l1-h3 > em { display: block; }
.l1-t__desc { margin-top: 14px; font-size: 17.5px; line-height: 1.65; color: var(--l-ink-2); }
/* the four items: number, bold title, one line; thin lines between them */
.l1-items { width: 100%; margin-top: 18px; }
.l1-items li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 13px 0; }
.l1-items li + li { border-top: 1px solid var(--l-line); }
.l1-items .l1-num { padding-top: 2px; font-size: 13px; line-height: 1.6; color: var(--l-teal); }
.l1-items__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.l1-items__tx b { font-size: 16px; line-height: 1.45; font-weight: 700; color: var(--l-ink); }
.l1-items__tx > span { font-size: 14.5px; line-height: 1.55; color: var(--l-ink-2); }
.l1-t .l1-btn { margin-top: 22px; }
/* a wide window under 880 px tall: the same card, set tighter, so it still fits under the tabs while it waits */
@media (min-width: 900px) and (max-height: 879px) {
  html[data-l1-scroll="on"] .l1-t { padding: 40px 48px 36px; }
  html[data-l1-scroll="on"] .l1-t .l1-h3 { margin-top: 14px; font-size: 34px; line-height: 1.22; }
  html[data-l1-scroll="on"] .l1-t__desc { margin-top: 10px; font-size: 16px; line-height: 1.6; }
  html[data-l1-scroll="on"] .l1-items { margin-top: 12px; }
  html[data-l1-scroll="on"] .l1-items li { padding: 8px 0; }
  html[data-l1-scroll="on"] .l1-items__tx { gap: 2px; }
  html[data-l1-scroll="on"] .l1-items__tx b { line-height: 1.4; }
  html[data-l1-scroll="on"] .l1-items__tx > span { line-height: 1.5; }
  html[data-l1-scroll="on"] .l1-t .l1-btn { height: 50px; margin-top: 14px; }
}
/* 700–741 px tall (a laptop at 125% scaling, for one): tighter still, so the card keeps waiting under the tabs */
@media (min-width: 900px) and (min-height: 700px) and (max-height: 741px) {
  html[data-l1-scroll="on"] .l1-t { padding: 34px 44px 32px; }
  html[data-l1-scroll="on"] .l1-t__tag { height: 28px; }
  html[data-l1-scroll="on"] .l1-t .l1-h3 { margin-top: 12px; font-size: 32px; line-height: 1.2; }
  html[data-l1-scroll="on"] .l1-t__desc { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
  html[data-l1-scroll="on"] .l1-items { margin-top: 10px; }
  html[data-l1-scroll="on"] .l1-items li { padding: 7px 0; }
  html[data-l1-scroll="on"] .l1-items__tx b { font-size: 15.5px; }
  html[data-l1-scroll="on"] .l1-items__tx > span { font-size: 14px; line-height: 1.45; }
  html[data-l1-scroll="on"] .l1-t .l1-btn { height: 48px; margin-top: 12px; }
}

/* phone screens inside the rows */
.l1-scr { display: flex; flex-direction: column; gap: 10px; padding: 4px 16px 16px; }
.l1-scr__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.l1-scr__top b { font-size: 21px; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; color: var(--l-ink); }
.l1-chip { padding: 3px 9px; border-radius: 999px; background: var(--l-sky-soft); font-size: 11px; line-height: 1.4; font-weight: 700; color: var(--l-sky-text); white-space: nowrap; }
.l1-chip--live { display: inline-flex; align-items: center; gap: 5px; background: var(--l-orange-soft); font-family: var(--l-display); letter-spacing: 0.06em; color: var(--l-orange-text); }
.l1-chip--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--l-orange); animation: l1-blink 1.4s ease-in-out infinite; }
.l1-cap { padding: 11px 12px; border-radius: 16px; background: #f4f7fa; }
.l1-cap em { display: block; margin-bottom: 3px; font-family: var(--l-display); font-style: normal; font-size: 10.5px; line-height: 1.35; font-weight: 700; letter-spacing: 0.05em; color: var(--l-ink-3); }
.l1-cap p { font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--l-ink-2); }
.l1-cap--en { background: var(--l-deep); }
.l1-cap--en em { color: var(--l-mint); }
.l1-cap--en p { font-size: 16px; line-height: 1.42; font-weight: 700; color: #ffffff; }
.l1-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 28px; color: var(--l-teal); }
.l1-wave i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform: scaleY(0.3); animation: l1-eq 1.1s ease-in-out infinite; }
.l1-wave i:nth-child(2n) { animation-delay: -0.35s; }
.l1-wave i:nth-child(3n) { animation-delay: -0.7s; }
@keyframes l1-eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.l1-days { display: flex; flex-direction: column; gap: 8px; }
.l1-days li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; background: #f4f7fa; }
.l1-days .is-key { background: var(--l-sky-strong); }
.l1-d { flex: none; display: flex; flex-direction: column; align-items: center; width: 34px; font-family: var(--l-display); font-size: 17px; line-height: 1.12; font-weight: 700; color: var(--l-ink); }
.l1-d em { font-style: normal; font-size: 9.5px; line-height: 1.3; letter-spacing: 0.06em; color: var(--l-ink-3); }
.l1-d b { font-weight: inherit; }
.l1-dt { min-width: 0; display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.3; color: var(--l-ink-2); }
.l1-dt b { font-size: 13.5px; line-height: 1.35; font-weight: 700; color: var(--l-ink); }
.l1-days .is-key .l1-d, .l1-days .is-key .l1-dt b { color: #ffffff; }
.l1-days .is-key .l1-d em, .l1-days .is-key .l1-dt { color: rgba(255, 255, 255, 0.8); }
.l1-minimap { width: 100%; height: auto; border-radius: 16px; background: #f3eee7; }
.l1-ride { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #f4f7fa; }
.l1-ride > span:last-child { display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.3; color: var(--l-ink-2); }
.l1-ride b { font-size: 13.5px; line-height: 1.35; font-weight: 700; color: var(--l-ink); }
.l1-eta { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; font-size: 12px; line-height: 1.4; color: var(--l-ink-2); }
.l1-eta b { font-family: var(--l-display); font-size: 16px; font-weight: 700; color: var(--l-deep); }
.l1-scr .l1-msg { background: #f1f4f8; box-shadow: none; }
.l1-scr .l1-msg--out { background: var(--l-sky-strong); }
.l1-msg__who { display: block; margin-bottom: 2px; font-size: 10.5px; line-height: 1.3; font-weight: 700; color: var(--l-deep); }
/* tab 1: a month, the confirmed date, three steps */
.l1-calgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 12px; border-radius: 16px; background: #f4f7fa; }
.l1-calgrid i { aspect-ratio: 1; border-radius: 7px; background: #e4eaf1; }
.l1-calgrid i.is-head { aspect-ratio: auto; height: 6px; margin-bottom: 2px; border-radius: 3px; background: #cfd8e3; }
.l1-calgrid i.is-off { background: transparent; box-shadow: inset 0 0 0 1px #e4eaf1; }
.l1-calgrid i.is-key { background: var(--l-teal); box-shadow: 0 0 0 3px rgba(43, 166, 140, 0.25); }
.l1-calcard { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--l-mint-paper); }
.l1-calcard b, .l1-route b, .l1-msgrow b { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--l-ink); }
.l1-scr .l1-stepper { padding: 10px 4px 2px; }
.l1-scr .l1-stepper span { font-size: 12px; }
/* tab 3: the way from the airport */
.l1-route { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: #f4f7fa; }
.l1-modes { display: flex; gap: 8px; }
.l1-modes span { flex: 1; display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 14px; background: #f4f7fa; color: var(--l-ink-2); }
.l1-modes span:first-child { background: var(--l-orange-soft); color: var(--l-orange-text); }
.l1-modes svg { width: 20px; height: 20px; }
/* tab 4: a message taken in, then passed to the clinic */
.l1-msgrow { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: #f4f7fa; }
.l1-msgrow b { flex: 1; }
.l1-msgrow > i { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--l-teal); color: #ffffff; }
.l1-msgrow > i svg { width: 12px; height: 12px; }
.l1-msgarrow { display: flex; justify-content: center; color: var(--l-ink-3); }
.l1-msgarrow svg { width: 18px; height: 18px; }
.l1-skel { display: flex; flex-direction: column; gap: 8px; padding: 8px 4px; }
.l1-skel i { height: 10px; border-radius: 5px; background: #eef2f6; }
.l1-skel i:nth-child(2) { width: 82%; }
.l1-skel i:nth-child(3) { width: 64%; }

/* ---------- reviews (kept for later, after the legal review) ---------- */
.l1-reviews { padding: 112px 0 40px; }
.l1-reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.l1-reviews__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.l1-reviews__stack { position: relative; height: 340px; }
.l1-review { position: absolute; left: 10%; right: 10%; top: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 214px; padding: 28px; border-radius: var(--l-r-card); background: #ffffff; box-shadow: var(--l-shadow-card); }
.l1-review--2 { rotate: 4deg; translate: 22px 14px; opacity: 0.75; }
.l1-review--3 { rotate: -3deg; translate: -18px 26px; opacity: 0.55; }
.l1-review--1 { z-index: 2; }
.l1-review b { font-size: 18px; color: var(--l-ink); }
.l1-review p { font-size: 15px; line-height: 1.7; color: var(--l-ink-3); }
.l1-review__line { height: 10px; border-radius: 6px; background: var(--l-cell); }
.l1-review__line--short { width: 60%; }
.l1-arrows { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: flex; gap: 10px; }
.l1-arrows span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--l-mint-paper); color: var(--l-deep); opacity: 0.6; }
.l1-arrows svg { width: 16px; height: 16px; }

/* ---------- 체류 중 안내: photos with a chat on top ---------- */
.l1-korea { padding: 120px 0 112px; }
.l1-sec-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: none; text-align: left; }
.l1-sec-head--split > div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.l1-sec-head--split .l1-lead { max-width: 430px; }
/* the photo strip, edge to edge. In a scrolling window it pins to the screen, the photos almost fill it, and scrolling
   on slides the strip sideways (DriveBerry); a still window (the canvas) shows the two photos as one wide row. */
.l1-strip { margin-top: 56px; }
.l1-strip__pin { overflow: clip; }
.l1-strip__track { display: flex; gap: 10px; height: 760px; padding: 0 10px; }
.l1-strip .l1-photo { flex: none; height: 100%; }
.l1-strip .l1-photo--wide { width: 61%; }
.l1-strip .l1-photo--tall { width: calc(39% - 10px); }
html[data-l1-mode="live"] .l1-strip { height: 220vh; margin-top: 40px; }
html[data-l1-mode="live"] .l1-strip__pin { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; }
html[data-l1-mode="live"] .l1-strip__track { --l1-travel: calc(30vw + 30px); height: calc(100vh - 24px); }
html[data-l1-mode="live"] .l1-strip .l1-photo--wide { width: 72vw; }
html[data-l1-mode="live"] .l1-strip .l1-photo--tall { width: 58vw; }
.l1-strip + .l1-wrap .l1-cats { margin-top: 24px; }
.l1-photo { position: relative; min-height: 0; overflow: clip; border-radius: var(--l-r-media); background: #d8cec8; }
.l1-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--l-ease); }
.l1-photo:hover img { scale: 1.03; }
.l1-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 12, 20, 0.18) 0%, rgba(18, 12, 20, 0) 34%, rgba(18, 12, 20, 0) 62%, rgba(18, 12, 20, 0.42) 100%); pointer-events: none; }
.l1-photo__cap { position: absolute; z-index: 2; left: 26px; bottom: 22px; display: flex; flex-direction: column; gap: 2px; color: #ffffff; }
.l1-photo__cap b { font-family: var(--l-display); font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.1em; }
.l1-photo__cap span { font-size: 14px; line-height: 1.4; font-weight: 600; opacity: 0.92; }
.l1-bubbles { position: absolute; z-index: 2; left: 28px; top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: min(380px, calc(100% - 56px)); }
.l1-bubble { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.l1-bubble p { padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.45); font-size: 13.5px; line-height: 1.45; color: var(--l-ink); }
.l1-bubble p small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--l-ink-3); }
.l1-bubble--out { align-self: flex-end; }
.l1-bubble--out p { border-radius: 16px 16px 6px 16px; background: rgba(14, 107, 90, 0.92); color: #ffffff; }
.l1-bubble--out p small { color: rgba(255, 255, 255, 0.72); }
.l1-bubble__ava { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #ffffff; font-family: var(--l-display); font-size: 10px; font-weight: 700; color: var(--l-deep); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.4); }
.l1-bubble__tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(18, 33, 73, 0.55); font-size: 11.5px; line-height: 1.4; font-weight: 600; color: #ffffff; }
.l1-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.l1-cat { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px; border-radius: var(--l-r-card); background: #ffffff; box-shadow: var(--l-shadow-card); transition: translate 0.4s var(--l-ease), box-shadow 0.4s ease; }
.l1-cat:hover { translate: 0 -4px; box-shadow: 0 14px 28px -14px rgba(14, 84, 70, 0.35); }
.l1-cat svg { width: 28px; height: 28px; color: var(--l-teal); }
.l1-cat b { font-family: var(--l-display); font-size: 15px; line-height: 1.2; font-weight: 700; letter-spacing: 0.04em; color: var(--l-deep); }
.l1-cat span { font-size: 14px; line-height: 1.45; color: var(--l-ink-2); }
.l1-fine { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--l-ink-3); }

/* ---------- map ---------- */
.l1-map { padding: 104px 0 112px; overflow-x: clip; }
/* L-1 ② (the second artboard of the split page): its menu bar shows only when the board scrolls as a page,
   so on the canvas the two boards read as one page */
html:not([data-l1-scroll="on"]) .l1--cont .l1-head { display: none; }
.l1-map__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 56px; }
.l1-map__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.l1-ask { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 470px; height: 64px; margin-top: 10px; padding: 7px 7px 7px 22px; border-radius: 18px; background: #ffffff; box-shadow: var(--l-shadow-card); transition: box-shadow 0.2s ease; }
.l1-ask:focus-within { box-shadow: var(--l-shadow-card), 0 0 0 2px var(--l-teal); }
.l1-ask input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--l-ink); }
.l1-ask input::placeholder { color: var(--l-ink-3); }
.l1-ask button { flex: none; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 0; border-radius: 14px; background: var(--l-deep); color: #ffffff; cursor: pointer; transition: background 0.25s ease, transform 0.2s ease; }
.l1-ask button:hover { background: var(--l-ink); }
.l1-ask button:active { transform: scale(0.96); }
.l1-ask button svg { width: 20px; height: 20px; }
.l1-ask__note { font-size: 14px; line-height: 1.6; color: var(--l-ink-2); }
.l1-ask__note b { display: block; color: var(--l-ink); }
.l1-map__art { position: relative; aspect-ratio: 720 / 560; }
.l1-map__base, .l1-map__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.l1-map__route { overflow: visible; }
.l1-pin { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; translate: -50% -100%; }
.l1-pin__label { display: flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: 999px; background: #ffffff; box-shadow: 0 12px 26px -12px rgba(14, 60, 52, 0.45); font-size: 13px; line-height: 1.2; font-weight: 700; color: var(--l-ink); white-space: nowrap; }
.l1-pin__label small { font-weight: 600; color: var(--l-ink-3); }
.l1-pin__label i { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--l-mint-paper); color: var(--l-deep); }
.l1-pin__label i svg { width: 13px; height: 13px; }
.l1-pin__dot { width: 14px; height: 14px; margin-top: 8px; border-radius: 50%; background: var(--l-deep); box-shadow: 0 0 0 4px #ffffff, 0 8px 16px rgba(0, 0, 0, 0.25); }
.l1-pin--air .l1-pin__dot { background: var(--l-sky-strong); }
.l1-pin--air .l1-pin__label i { background: var(--l-sky-soft); color: var(--l-sky-text); }
.l1-pin--clinic .l1-pin__dot { background: var(--l-orange); }
.l1-pin--clinic .l1-pin__label i { background: var(--l-orange-soft); color: var(--l-orange-text); }
.l1-map__tag { position: absolute; right: 10px; bottom: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--l-ink-3); }

/* ---------- process ---------- */
.l1-process { padding: 40px 0 120px; }
.l1-panel { position: relative; overflow: clip; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: 56px; padding: 76px 80px; border-radius: 32px; background: radial-gradient(52% 70% at 88% 18%, rgba(127, 224, 205, 0.42), rgba(127, 224, 205, 0) 70%), radial-gradient(46% 64% at 6% 104%, rgba(66, 128, 228, 0.34), rgba(66, 128, 228, 0) 70%), linear-gradient(140deg, #0a5a4c 0%, var(--l-deep) 42%, #1a8670 100%); color: #ffffff; view-timeline-name: --l1-panel; }
.l1-panel__kicker { font-family: var(--l-display); font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.1em; color: var(--l-mint); }
.l1-h2--light { margin-top: 16px; color: #ffffff; }
.l1-h2--light em { color: var(--l-mint); }
.l1-steps { display: flex; flex-direction: column; margin: 30px 0 34px; }
.l1-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: baseline; gap: 2px 10px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.l1-step b { font-family: var(--l-display); font-size: 15px; line-height: 1.4; font-weight: 700; color: var(--l-mint); }
.l1-step span { font-size: 18px; line-height: 1.4; font-weight: 700; }
.l1-step small { grid-column: 2; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.74); }
.l1-step__tag { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); font-style: normal; font-size: 11.5px; line-height: 1.4; font-weight: 700; vertical-align: 2px; }
.l1-ring { position: relative; justify-self: center; width: min(380px, 100%); aspect-ratio: 1 / 1; }
.l1-ring::before { content: ""; position: absolute; inset: 11%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06) 62%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
.l1-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.l1-ring__bar { stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.l1-ring__num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.l1-ring__n { font-family: var(--l-display); font-size: 104px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: #ffffff; }
.l1-ring__n::before { counter-reset: l1step var(--l1-step, 5); content: counter(l1step); }
.l1-ring__num span { font-size: 16px; line-height: 1.4; font-weight: 600; color: rgba(255, 255, 255, 0.82); }

/* ---------- FAQ ---------- */
.l1-faq { padding: 112px 0 120px; }
.l1-faq__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: start; gap: 64px; }
.l1-faq__head { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.l1-faq__list { display: flex; flex-direction: column; gap: 10px; }
.l1-q { border-radius: 18px; background: #ffffff; box-shadow: var(--l-shadow-card); }
.l1-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 22px 22px 26px; font-size: 17px; line-height: 1.45; font-weight: 700; color: var(--l-ink); cursor: pointer; list-style: none; }
.l1-q summary::-webkit-details-marker { display: none; }
.l1-q summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--l-mint-paper); transition: background 0.3s ease, rotate 0.4s var(--l-ease); }
.l1-q summary i::before, .l1-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--l-deep); transition: rotate 0.4s var(--l-ease), background 0.3s ease; }
.l1-q summary i::after { rotate: 90deg; }
.l1-q[open] summary i { background: var(--l-deep); rotate: 180deg; }
.l1-q[open] summary i::before, .l1-q[open] summary i::after { background: #ffffff; }
.l1-q[open] summary i::after { rotate: 0deg; }
.l1-q::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s var(--l-ease), content-visibility 0.4s allow-discrete; }
.l1-q[open]::details-content { block-size: auto; }
.l1-q__a { padding: 0 26px 24px; font-size: 15.5px; line-height: 1.78; color: var(--l-ink-2); }
/* the canvas (nothing scrolls) shows every answer, so each one can be read and edited in place */
html:not([data-l1-scroll="on"]) .l1-q::details-content { block-size: auto; content-visibility: visible; }
html:not([data-l1-scroll="on"]) .l1-q summary i { background: var(--l-deep); rotate: 180deg; }
html:not([data-l1-scroll="on"]) .l1-q summary i::before, html:not([data-l1-scroll="on"]) .l1-q summary i::after { background: #ffffff; }
html:not([data-l1-scroll="on"]) .l1-q summary i::after { rotate: 0deg; }
.l1-q__a a { color: var(--l-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer: the contact form on a deep panel, then the details ---------- */
.l1-foot { padding: 0 16px 16px; }
.l1-foot__panel { position: relative; overflow: clip; border-radius: 28px; background: radial-gradient(50% 60% at 82% 0%, rgba(127, 224, 205, 0.3), rgba(127, 224, 205, 0) 70%), radial-gradient(44% 56% at 0% 100%, rgba(66, 128, 228, 0.26), rgba(66, 128, 228, 0) 70%), var(--l-deep); color: #ffffff; }
.l1-foot__panel + .l1-foot__panel { margin-top: 12px; }
.l1-foot__mark { padding-top: 36px; font-family: var(--l-display); font-size: clamp(56px, 15.2vw, 236px); line-height: 0.92; font-weight: 700; letter-spacing: -0.045em; color: rgba(255, 255, 255, 0.08); text-align: center; white-space: nowrap; user-select: none; }
.l1-foot__form { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(460px, calc(100% - 48px)); margin: -36px auto 0; padding-bottom: 76px; text-align: center; }
.l1-foot__title { font-size: 30px; line-height: 1.3; font-weight: 700; letter-spacing: -0.03em; }
.l1-foot__form > p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.l1-form { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 10px; text-align: left; }
.l1-form label { display: flex; flex-direction: column; gap: 2px; }
.l1-form label span { font-size: 13px; line-height: 1.4; font-weight: 600; color: rgba(255, 255, 255, 0.74); }
.l1-form input { height: 44px; padding: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.42); border-radius: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: #ffffff; transition: border-color 0.2s ease; }
.l1-form input:focus { border-bottom-color: #ffffff; }
.l1-form .l1-btn { width: 100%; margin-top: 20px; }
.l1-form__note { margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); text-align: center; }
.l1-form[data-tried] .l1-form__note { color: var(--l-mint); font-weight: 700; }
.l1-foot__info { padding: 52px 56px 26px; }
.l1-foot__cols { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1.1fr; gap: 32px; }
.l1-foot__h { margin-bottom: 14px; font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--l-mint); }
.l1-foot__cols a, .l1-foot__cols p:not(.l1-foot__h) { display: block; font-size: 14px; line-height: 1.95; color: rgba(255, 255, 255, 0.86); }
.l1-foot__cols a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.l1-foot__cols a[data-privacy] { font-weight: 700; color: #ffffff; }   /* 개인정보 처리방침: bold and full white, set apart from the other links */
.l1-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.l1-foot__top { display: inline-flex; align-items: center; gap: 6px; color: #ffffff; font-weight: 600; }
.l1-foot__top svg { width: 14px; height: 14px; transition: transform 0.4s var(--l-ease); }
.l1-foot__top:hover svg { transform: translateY(-3px); }

/* =====================================================================================================
   LIVE — the hero runway. 240vh of scroll on a pinned stage:
     0–9%   the line under the logo and the scroll hint fade         (the logo itself: l1-logo3d.js)
     6–42%  the phone rises from below to the middle, large
     46–72% it moves to its column and settles; the headline slides in
     62–86% the three glass notes pop in
   ===================================================================================================== */
@property --l1-step { syntax: "<integer>"; inherits: true; initial-value: 5; }

@supports (animation-timeline: view()) {
  html[data-l1-mode="live"] .l1-hero { height: 240vh; view-timeline: --l1-hero block; }
  html[data-l1-mode="live"] .l1-hero__stage { position: sticky; top: 0; height: 100vh; min-height: 640px; }
  html[data-l1-mode="live"] .l1-intro { position: absolute; inset: 0; height: auto; padding: 0 0 4vh; }
  html[data-l1-mode="live"] .l1-intro__line,
  html[data-l1-mode="live"] .l1-intro__hint { animation: l1-fade-up linear both; animation-timeline: --l1-hero; animation-range: contain 0% contain 9%; }
  html[data-l1-mode="live"] .l1-home { position: absolute; left: 0; right: 0; top: 0; bottom: 0; min-height: 0; padding: 86px 0 28px; }
  html[data-l1-mode="live"] .l1-home__visual { min-height: 0; height: 100%; }
  html[data-l1-mode="live"] .l1-home__copy { animation: l1-copy-in linear both; animation-timeline: --l1-hero; animation-range: contain 46% contain 72%; }
  html[data-l1-mode="live"] .l1-vrise { animation: l1-phone-rise linear both; animation-timeline: --l1-hero; animation-range: contain 4% contain 42%; }
  html[data-l1-mode="live"] .l1-vshift { animation: l1-phone-shift linear both; animation-timeline: --l1-hero; animation-range: contain 46% contain 72%; }
  html[data-l1-mode="live"] .l1-glass--a { animation: l1-pop linear both; animation-timeline: --l1-hero; animation-range: contain 62% contain 74%; }
  html[data-l1-mode="live"] .l1-glass--b { animation: l1-pop linear both; animation-timeline: --l1-hero; animation-range: contain 68% contain 80%; }
  html[data-l1-mode="live"] .l1-glass--c { animation: l1-pop linear both; animation-timeline: --l1-hero; animation-range: contain 74% contain 86%; }
  html[data-l1-mode="live"] .l1-example { animation: l1-fade-in linear both; animation-timeline: --l1-hero; animation-range: contain 78% contain 88%; }

  /* entrances and fills, any width */
  html[data-l1-motion="on"] .l1-rise { animation: l1-rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  html[data-l1-motion="on"] .l1-gauge { view-timeline: --l1-gauge block; }
  html[data-l1-motion="on"] .l1-gauge__sweep { animation: l1-sweep linear both; animation-timeline: --l1-gauge; animation-range: cover 18% cover 58%; }
  html[data-l1-motion="on"] .l1-gauge__needle { animation: l1-needle linear both; animation-timeline: --l1-gauge; animation-range: cover 18% cover 58%; }
  html[data-l1-motion="on"] .l1-ring__bar { animation: l1-sweep linear both; animation-timeline: --l1-panel; animation-range: cover 24% cover 54%; }
  html[data-l1-motion="on"] .l1-ring__n { animation: l1-count steps(5, jump-none) both; animation-timeline: --l1-panel; animation-range: cover 24% cover 54%; }
  html[data-l1-motion="on"] .l1-step { animation: l1-step-lit linear both; animation-timeline: --l1-panel; }
  html[data-l1-motion="on"] .l1-step:nth-child(1) { animation-range: cover 23% cover 25%; }
  html[data-l1-motion="on"] .l1-step:nth-child(2) { animation-range: cover 29% cover 31%; }
  html[data-l1-motion="on"] .l1-step:nth-child(3) { animation-range: cover 35% cover 37%; }
  html[data-l1-motion="on"] .l1-step:nth-child(4) { animation-range: cover 41% cover 43%; }
  html[data-l1-motion="on"] .l1-step:nth-child(5) { animation-range: cover 47% cover 49%; }
  html[data-l1-motion="on"] .l1-strip { view-timeline: --l1-strip block; }
  html[data-l1-motion="on"] .l1-bubble, html[data-l1-motion="on"] .l1-bubble__tag { animation: l1-bubble-in linear both; animation-timeline: --l1-strip; }
  html[data-l1-motion="on"] .l1-bubble__tag { animation-range: entry 45% entry 65%; }
  html[data-l1-motion="on"] .l1-bubble:nth-child(2) { animation-range: entry 60% entry 80%; }
  html[data-l1-motion="on"] .l1-bubble:nth-child(3) { animation-range: entry 75% entry 95%; }
  html[data-l1-motion="on"] .l1-bubble:nth-child(4) { animation-range: entry 90% contain 8%; }
  html[data-l1-mode="live"] .l1-strip__track { animation: l1-strip-in linear both, l1-strip-x linear both; animation-timeline: --l1-strip, --l1-strip; animation-range: entry 0% entry 100%, contain 0% contain 100%; }
  /* 하는 일: each phone screen fills in line by line as its row comes up; the chips pop on after */
  html[data-l1-motion="on"] .l1-scr > * { animation: l1-scr-in linear both; animation-timeline: view(); animation-range: entry 20% entry 100%; }
  html[data-l1-motion="on"] .l1-g .l1-badge { animation: l1-pop linear both; animation-timeline: view(); animation-range: entry 55% entry 100%; }
  html[data-l1-motion="on"] .l1-map__art { view-timeline: --l1-map block; }
  html[data-l1-motion="on"] .l1-pin { animation: l1-pin-drop linear both; animation-timeline: --l1-map; }
  html[data-l1-motion="on"] .l1-pin--air { animation-range: entry 40% entry 70%; }
  html[data-l1-motion="on"] .l1-pin--stay { animation-range: entry 55% entry 85%; }
  html[data-l1-motion="on"] .l1-pin--clinic { animation-range: entry 70% entry 100%; }
}


@keyframes l1-fade-up { to { opacity: 0; transform: translateY(-24px); } }
@keyframes l1-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes l1-copy-in { from { opacity: 0; translate: -56px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes l1-phone-rise { from { translate: 0 100vh; } to { translate: 0 0; } }
@keyframes l1-phone-shift { from { translate: calc(-1 * var(--l1-dx, 290px)) 0; scale: 1.2; } to { translate: 0 0; scale: 1; } }
@keyframes l1-pop { from { opacity: 0; scale: 0.82; translate: 0 18px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes l1-rise-in { from { opacity: 0; translate: 0 44px; } to { opacity: 1; translate: 0 0; } }
@keyframes l1-sweep { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes l1-needle { from { rotate: 160deg; } to { rotate: 380deg; } }
@keyframes l1-count { from { --l1-step: 1; } to { --l1-step: 5; } }
@keyframes l1-step-lit { from { opacity: 0.38; } to { opacity: 1; } }
@keyframes l1-bubble-in { from { opacity: 0; translate: 0 14px; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes l1-pin-drop { from { opacity: 0; translate: -50% calc(-100% - 34px); } to { opacity: 1; translate: -50% -100%; } }
@keyframes l1-strip-in { from { opacity: 0.35; filter: blur(16px) saturate(0.7); scale: 0.95; } to { opacity: 1; filter: none; scale: 1; } }
@keyframes l1-strip-x { from { translate: 0 0; } to { translate: calc(-1 * var(--l1-travel, 0px)) 0; } }
@keyframes l1-scr-in { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes l1-back-1 { to { scale: 0.91; filter: brightness(0.95); } }
@keyframes l1-back-2 { to { scale: 0.94; filter: brightness(0.96); } }
@keyframes l1-back-3 { to { scale: 0.97; filter: brightness(0.98); } }

/* ---------- 1024 ---------- */
@media (max-width: 1024px) {
  .l1-wrap, .l1-home { width: calc(100% - 64px); }
  .l1-h1 { font-size: 46px; }
  .l1-h2 { font-size: 38px; }
  .l1-h3 { font-size: 28px; }
  .l1-head__bar { gap: 14px; }
  .l1-nav a { padding: 9px 10px; font-size: 14px; }
  .l1-home { gap: 40px; }
  .l1-glass--a { left: -120px; }
  .l1-glass--b { left: -170px; }
  .l1-glass--c { right: -96px; }
  .l1-t { padding: 44px 40px 40px; }
  html[data-l1-scroll="on"] .l1-t { padding-left: 40px; padding-right: 40px; }
  .l1-t .l1-h3, html[data-l1-scroll="on"] .l1-t .l1-h3 { font-size: 30px; }
  .l1-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l1-panel { padding: 60px 56px; gap: 40px; }
  .l1-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- under 900: one column ---------- */
@media (max-width: 899px) {
  .l1-nav { display: none; }
  .l1-head__bar { width: calc(100% - 24px); height: 58px; padding: 0 8px 0 16px; border-radius: 16px; }
  .l1-head { top: 10px; }
  .l1-brand__img { height: 21px; }
  .l1-intro { height: 100vh; height: 100svh; min-height: 560px; max-height: 900px; padding-top: 0; }
  .l1-intro__mark { width: min(620px, 84vw); }
  .l1-intro__line { margin-top: 44px; font-size: 16px; }
  .l1-home { grid-template-columns: minmax(0, 1fr); gap: 64px; min-height: 0; padding: 24px 0 96px; }
  .l1-home__visual { min-height: 0; padding: 0 0 40px; }
  .l1-glass--a { left: -40px; top: 40px; }
  .l1-glass--b { left: -64px; top: auto; bottom: 150px; width: 228px; }
  .l1-glass--c { right: -36px; bottom: 60px; }
  .l1-tabs { top: 78px; display: flex; overflow-x: auto; scrollbar-width: none; margin-top: 40px; }
  .l1-tabs::-webkit-scrollbar { display: none; }
  .l1-tabs a { flex: none; padding: 0 16px; height: 44px; }
  .l1-row { scroll-margin-top: 148px; }
  .l1-row__in { grid-template-columns: minmax(0, 1fr); }
  .l1-row--even .l1-g { order: 0; }
  .l1-service .l1-wrap { width: calc(100% - 64px); }
  .l1-rows { gap: 40px; }
  .l1-g, html[data-l1-mode="live"] .l1-g { height: 460px; border-radius: 28px; }
  .l1-phone--card { top: 104px; width: 260px; height: 540px; margin-left: -130px; }
  .l1-phone--card .l1-island { width: 72px; height: 22px; margin-left: -36px; }
  .l1-phone--card .l1-sb { padding: 2px 18px 0 22px; }
  .l1-badge--tl { left: 18px; top: 18px; }
  .l1-badge--br { right: 16px; top: auto; bottom: 22px; }
  .l1-t, html[data-l1-scroll="on"] .l1-t { position: static; padding: 32px 26px 34px; border-radius: 28px; }
  .l1-t .l1-h3 { font-size: 30px; }
  .l1-strip__track { height: 600px; }
  .l1-reviews__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .l1-sec-head--split { flex-direction: column; align-items: flex-start; gap: 18px; }
  .l1-map__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .l1-panel { grid-template-columns: minmax(0, 1fr); padding: 52px 40px; }
  .l1-ring { width: min(300px, 80%); grid-row: 1; }
  .l1-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .l1-faq__head { position: static; }
}

/* ---------- 767 ---------- */
@media (max-width: 767px) {
  .l1-wrap, .l1-home { width: calc(100% - 40px); }
  .l1-h1 { font-size: 38px; }
  .l1-h2 { font-size: 31px; }
  .l1-h3 { font-size: 25px; }
  .l1-lead { font-size: 16.5px; }
  .l1-lang { display: none; }
  .l1-relief, .l1-service, .l1-korea, .l1-faq { padding-top: 88px; }
  .l1-tiles__track { grid-template-columns: repeat(2, 160px); }
  .l1-tile { width: 160px; height: 132px; padding: 15px 15px 16px; }
  .l1-tile b { font-size: 15px; }
  .l1-tile svg { width: 28px; height: 28px; }
  .l1-band__track { grid-template-columns: repeat(2, 150px); }
  .l1-band__logo { width: 150px; }
  .l1-gauge__copy { top: 64%; gap: 16px; }
  .l1-service .l1-wrap { width: calc(100% - 40px); }
  .l1-t .l1-h3 { font-size: 25px; }
  .l1-t__desc { font-size: 16px; }
  .l1-strip { margin-top: 40px; }
  .l1-strip__track { flex-direction: column; gap: 12px; height: auto; padding: 0 20px; }
  .l1-strip .l1-photo--wide, .l1-strip .l1-photo--tall { width: auto; }
  .l1-strip .l1-photo--wide { height: 460px; }
  .l1-strip .l1-photo--tall { height: 420px; }
  .l1-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l1-foot__info { padding: 40px 28px 24px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-tiles { --w: 160px; }
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-tiles__track { height: 160px; }
  html[data-l1-scroll="on"] .l1:not(.is-still) .l1-band { --w: 150px; }
}

/* ---------- 478 ---------- */
@media (max-width: 478px) {
  .l1-wrap, .l1-home { width: calc(100% - 32px); }
  .l1-h1 { font-size: 32px; }
  .l1-h2 { font-size: 27px; }
  .l1-h3 { font-size: 23px; }
  .l1-btn { height: 50px; padding: 0 20px; }
  .l1-head__end .l1-btn--sm { padding: 0 12px; }
  .l1-cta { width: 100%; }
  .l1-cta .l1-btn { flex: 1 1 100%; }
  .l1-visual { zoom: 0.86; }
  .l1-glass--a { left: -26px; }
  .l1-glass--b { left: -30px; }
  .l1-glass--c { right: -20px; }
  .l1-service .l1-wrap { width: calc(100% - 32px); }
  .l1-g, html[data-l1-mode="live"] .l1-g { height: 420px; }
  .l1-phone--card { top: 96px; width: 236px; height: 490px; margin-left: -118px; }
  .l1-badge { height: 40px; font-size: 13.5px; }
  .l1-badge--tl { left: 12px; top: 14px; }
  .l1-badge--br { right: 12px; bottom: 16px; }
  .l1-items li { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
  .l1-strip__track { padding: 0 16px; }
  .l1-gauge__copy .l1-h2 { font-size: 23px; }
  .l1-gauge__copy { top: 66%; width: 92%; }
  .l1-panel { padding: 44px 24px; border-radius: 26px; }
  .l1-foot__cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .l1-ask { height: 58px; padding-left: 18px; }
  .l1-ask button { width: 44px; height: 44px; }
}

/* ---------- still: reduced motion, or the board's motion switch off ---------- */
.l1.is-still .l1-blob, .l1.is-still .l1-intro__hint i, .l1.is-still .l1-typing i, .l1.is-still .l1-live::before,
.l1.is-still .l1-wave i, .l1.is-still .l1-chip--live::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .l1-blob, .l1-intro__hint i, .l1-typing i, .l1-live::before, .l1-wave i, .l1-chip--live::before { animation: none; }
  .l1-btn::before, .l1-phone--card, .l1-photo img, .l1-cat, .l1-tabs a { transition: none; }
}

/* L-1 ① also carries ②'s sections (tools/sync_l1_tail.py) so any scrolling window (the full-window view, the site,
   a phone; with motion or standing still) reads the whole page in one go; the canvas shows the board at its full
   height with no scrolling and ②'s sections on ②'s own artboard, so they are hidden there and before the page state is set. */
html:not([data-l1-scroll="on"]) .l1-tail { display: none; }

/* ---------- 크리에이터: the line on the left, creators' clips on a phone on the right (V-2) ----------
   The clips are one animated WebP (an uploaded asset: four clips, 21 s in all), so they also move on the canvas.
   The four story bars and the dark fade under the status row are drawn into the clip's own frames
   (tools/make_crew_reel.py), so each bar always runs with its clip, whenever and however the browser plays it.
   People who asked for less motion get one still picture. */
.l1-crew { padding: 88px 0 120px; }
.l1-crew__inner { display: grid; grid-template-columns: minmax(0, 1fr) 520px; align-items: center; gap: 48px; width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
.l1-crew__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.l1-crew .l1-h2 { text-align: left; }
.l1-crew__copy .l1-pill { margin-bottom: -8px; }
.l1-crew__media { display: flex; flex-direction: column; align-items: center; min-width: 0; }

.l1-cp { position: relative; display: grid; place-items: center; width: 520px; height: 720px; perspective: 1600px; }
.l1-cp__glow {
  position: absolute; left: 50%; top: 46%; width: 540px; height: 540px; margin: -270px 0 0 -270px; border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, rgba(127, 224, 205, 0.6) 0%, rgba(127, 224, 205, 0) 60%), radial-gradient(circle at 72% 72%, rgba(66, 128, 228, 0.3) 0%, rgba(66, 128, 228, 0) 50%);
}
.l1-cp__floor { position: absolute; left: 50%; bottom: 28px; width: 320px; height: 40px; margin-left: -160px; border-radius: 50%; background: radial-gradient(ellipse, rgba(14, 60, 70, 0.3) 0%, rgba(14, 60, 70, 0) 70%); }
.l1-cp__phone {
  position: relative; z-index: 1; width: 300px; height: 626px; padding: 10px; border-radius: 50px;
  background: linear-gradient(145deg, #23345a 0%, #0d1830 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), inset 0 0 0 4px #0b1428, 0 46px 84px -36px rgba(14, 40, 80, 0.62), 0 16px 30px -18px rgba(14, 40, 80, 0.45);
  transform: rotateY(-15deg) rotateX(5deg) rotateZ(2deg);
}
.l1-cp__screen { position: relative; height: 100%; overflow: hidden; border-radius: 40px; background: #0b3a44; }
.l1-cp__screen::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 34%); pointer-events: none; }
.l1-cp__screen picture, .l1 .l1-cp__screen picture img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* the first frame (19 KB) sits under the reel (2.6 MB), so the screen is never empty while the reel loads */
.l1-cp__screen picture { z-index: 1; }
/* if the reel ever fails to load, hide the broken image and its description text: the first frame underneath shows */
.l1 .l1-cp__screen picture img { color: transparent; }
.l1 .l1-cp__screen picture img[data-l1-broken] { visibility: hidden; }
.l1 .l1-cp__screen .l1-cp__poster { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.l1-cp__island { position: absolute; left: 50%; top: 10px; z-index: 4; width: 86px; height: 25px; margin-left: -43px; border-radius: 16px; background: #0b1428; }
.l1-cp__ui { position: absolute; inset: 0; z-index: 2; color: #ffffff; font-family: var(--l-ui); pointer-events: none; }
.l1-cp__ui > * { position: relative; }
.l1-cp__ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.l1-cp__sb { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 8px 26px 0 32px; font-size: 13px; font-weight: 600; }
.l1-cp__sb i { position: relative; width: 22px; height: 10px; border: 1.4px solid #ffffff; border-radius: 3px; }
.l1-cp__sb i::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 1px; background: #ffffff; }
.l1-cp__who { display: flex; align-items: center; gap: 9px; padding: 21px 15px 0; font-size: 13.5px; font-weight: 700; }
.l1-cp__who .l1-cp__ic { width: 20px; height: 20px; margin-left: auto; }
.l1-cp__ava { display: grid; place-items: center; flex: none; width: 34px; height: 34px; overflow: hidden; border: 2px solid #ffffff; border-radius: 50%; background: #ffffff; }
.l1 .l1-cp__ava img { display: block; width: 82%; height: auto; max-width: none; }
.l1-cp__side { position: absolute; right: 14px; bottom: 54px; display: flex; flex-direction: column; gap: 20px; }
.l1-cp__side .l1-cp__ic { width: 26px; height: 26px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)); }
.l1-cp__tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--l-shadow-float);
  font: 700 15px/1 var(--l-display); letter-spacing: 0.01em; color: var(--l-deep); white-space: nowrap;
}
.l1-cp__tag .l1-pill__dot { width: 10px; height: 10px; }
.l1-cp__tag .l1-cp__ic { width: 18px; height: 18px; color: var(--l-orange); }
.l1-cp__tag--pin { right: 0; top: 150px; }
.l1-cp__tag--with { left: 2px; bottom: 170px; }
.l1-cp__credit { position: relative; z-index: 2; margin-top: -26px; font-size: 14px; line-height: 1.4; letter-spacing: 0; color: var(--l-ink-2); white-space: nowrap; }
.l1-cp__credit b { margin-left: 3px; padding: 3px 11px 4px; border-radius: 999px; background: #f9cfdc; font-weight: 700; color: #a83a62; }

@keyframes l1-cp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes l1-cp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@media (prefers-reduced-motion: no-preference) {
  html[data-l1-motion="on"] .l1-cp__phone { animation: l1-cp-float 7s ease-in-out infinite; }
  html[data-l1-motion="on"] .l1-cp__tag { animation: l1-cp-bob 5.5s ease-in-out infinite; }
  html[data-l1-motion="on"] .l1-cp__tag--with { animation-delay: -2.6s; }
}

@media (max-width: 1024px) {
  .l1-crew__inner { grid-template-columns: minmax(0, 1fr) 440px; gap: 24px; width: calc(100% - 64px); }
  .l1-cp { margin: -50px 0; transform: scale(0.86); }
}
@media (max-width: 767px) {
  .l1-crew { padding: 64px 0 40px; }
  .l1-crew__inner { grid-template-columns: minmax(0, 1fr); gap: 0; width: calc(100% - 40px); }
  .l1-crew__copy { gap: 22px; }
  .l1-cp { margin: -100px 0; transform: scale(0.72); }
  .l1-cp__credit { margin-top: -8px; font-size: 13px; }
}

/* ---------- What we do 제목: the letters come in with the scroll (Tweaks: 글자씩 · 단어씩 · 색 채우기 · 끄기) ----------
   The heading is split into word spans (.l1-fx__w, --w) and letter spans (.l1-fx__c, --i, 15 letters); the head's
   own view timeline (--l1-fx) drives them, so the text follows the scroll both ways. --fx-t (Tweaks: 나오는 길이) is
   how much of the scroll the whole line takes. Off when motion is off (the canvas shows the finished line). */
.l1-fx__w { display: inline-block; white-space: nowrap; }
.l1-fx__c { display: inline-block; }
@keyframes l1-fx-rise { from { opacity: 0; translate: 0 0.55em; filter: blur(8px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes l1-fx-fill { from { opacity: 0.14; } to { opacity: 1; } }
@keyframes l1-fx-pop { from { opacity: 0; scale: 0.82; } to { opacity: 1; scale: 1; } }
@supports (animation-timeline: view()) {
  html[data-l1-motion="on"] .l1-fx { --fx-a: 8%; --fx-l: 9%; view-timeline: --l1-fx block; }
  html[data-l1-motion="on"] .l1-fx.fx-char, html[data-l1-motion="on"] .l1-fx.fx-word, html[data-l1-motion="on"] .l1-fx.fx-fill { animation: none; }
  html[data-l1-motion="on"] .l1-fx.fx-char .l1-pill, html[data-l1-motion="on"] .l1-fx.fx-word .l1-pill, html[data-l1-motion="on"] .l1-fx.fx-fill .l1-pill {
    animation: l1-fx-pop linear both; animation-timeline: --l1-fx; animation-range: cover calc(var(--fx-a) - 4%) cover calc(var(--fx-a) + 4%);
  }
  /* letter by letter: each one rises out of a blur, one after another across --fx-t */
  html[data-l1-motion="on"] .l1-fx.fx-char .l1-fx__c {
    animation: l1-fx-rise linear both; animation-timeline: --l1-fx;
    animation-range: cover calc(var(--fx-a) + var(--fx-t) * var(--i) / var(--fx-n, 15)) cover calc(var(--fx-a) + var(--fx-t) * var(--i) / var(--fx-n, 15) + var(--fx-l));
  }
  /* word by word */
  html[data-l1-motion="on"] .l1-fx.fx-word .l1-fx__w {
    animation: l1-fx-rise linear both; animation-timeline: --l1-fx;
    animation-range: cover calc(var(--fx-a) + var(--fx-t) * var(--w) / var(--fx-wn, 5)) cover calc(var(--fx-a) + var(--fx-t) * var(--w) / var(--fx-wn, 5) + var(--fx-l) * 1.6);
  }
  /* the line is there but faint, and fills in letter by letter as you read down */
  html[data-l1-motion="on"] .l1-fx.fx-fill .l1-fx__c {
    animation: l1-fx-fill linear both; animation-timeline: --l1-fx;
    animation-range: cover calc(var(--fx-a) + var(--fx-t) * var(--i) / var(--fx-n, 15)) cover calc(var(--fx-a) + var(--fx-t) * var(--i) / var(--fx-n, 15) + var(--fx-l));
  }
}
