body {
  margin: 0;
  background: var(--bg-surface);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
.lp section[id] {
  scroll-margin-top: 16px;
}
.lp code {
  background: none;
  padding: 0;
}
.lp {
  --ink: #161614;
  --on-ink: #f2f2ee;
  --on-ink-muted: #a8a8a0;
  --line-ink: #33332e;
}
.lp a:not(.as-btn):not(.as-logo):not(.lang-link) {
  color: var(--accent);
}
.wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.display {
  margin: 0;
  font-size: 76px;
  line-height: 84px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.h2 {
  margin: 0;
  font-size: 56px;
  line-height: 62px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--text-muted);
}
.lp .as-btn.big-btn {
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: 24px;
}
/* 머리 링크는 줄을 바꾸지 않는다 (좁아지면 keep-all 때문에 한 글자씩 쪼개졌다) */
.lp header a {
  white-space: nowrap;
  flex: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.vstack {
  position: relative;
  height: 440px;
}
.vcard {
  position: absolute;
  left: 0;
  right: 0;
  box-sizing: border-box;
  padding: 18px 20px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}
.tl {
  padding: 28px 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tl-v {
  font: 700 64px / 1 var(--font-mono);
  letter-spacing: -0.04em;
  color: var(--border-strong);
}
.tl-now .tl-v {
  color: var(--accent);
}
.mess {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.file {
  font: 400 15px / 26px var(--font-mono);
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--border-strong);
  white-space: nowrap;
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.sec {
  padding: 120px 0;
}
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.conn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.conn-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.conn-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.conn-card li {
  counter-increment: c;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  font-size: 16px;
  line-height: 25px;
}
.conn-card li::before {
  content: counter(c);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--bg-subtle);
  font: 600 13px / 1 var(--font-mono);
  color: var(--text-muted);
}
.conn-card b {
  font-weight: 600;
}
.pains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pain {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.pain-tag {
  font: 700 13px / 18px var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.02em;
}
.msg {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.msg-av {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  box-sizing: border-box;
}
.msg-head {
  font-size: 13px;
  line-height: 18px;
  color: var(--text-subtle);
}
.msg-body {
  font-size: 17px;
  line-height: 27px;
}
.find {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
mark.hl {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}
@media (max-width: 1000px) {
  /* 태블릿: 섹션 메뉴는 감추고 로고·언어·로그인·시작하기만 */
  .lp .nav {
    display: none;
  }
  .hero,
  .split,
  .find {
    grid-template-columns: minmax(0, 1fr);
  }
  .display {
    font-size: 64px;
    line-height: 68px;
  }
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trio {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps3,
  .conn {
    grid-template-columns: minmax(0, 1fr);
  }
  .pains {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
  .sec {
    padding: 72px 0;
  }
  .display {
    font-size: 38px;
    line-height: 46px;
  }
  .h2 {
    font-size: 34px;
    line-height: 40px;
  }
  .lead {
    font-size: 17px;
    line-height: 28px;
  }
  .vstack {
    height: 480px;
  }
  .tl-v {
    font-size: 48px;
  }
  .file {
    font-size: 14px;
  }
  .nav-links {
    display: none;
  }
  .pain {
    padding: 20px;
  }
  .msg-body {
    font-size: 16px;
    line-height: 25px;
  }
  .big-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* 공유 방식 비교 표. 휴대폰에서는 줄마다 카드로 바뀐다 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  line-height: 23px;
}
.cmp th,
.cmp td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.cmp thead th {
  padding-top: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid var(--text);
}
.cmp thead th:first-child,
.cmp tbody th {
  width: 20%;
}
.cmp tbody th {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
}
.cmp tbody td {
  color: var(--text-muted);
}
.cmp__us th,
.cmp__us td {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-bottom: 2px solid var(--accent);
}
.cmp__us td {
  color: var(--text);
}
.mk {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  border-radius: 50%;
  font: 700 13px / 1 var(--font-mono);
}
.mk::before {
  content: "✕";
}
.mk--no {
  background: var(--bg-subtle);
  color: var(--text-subtle);
}
.mk--part {
  background: var(--bg-subtle);
  color: var(--warning);
}
.mk--part::before {
  content: "△";
  font-size: 11px;
}
.mk--yes {
  background: var(--accent);
  color: var(--on-accent);
}
.mk--yes::before {
  content: "✓";
}
@media (max-width: 760px) {
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td {
    display: block;
    width: auto;
  }
  .cmp thead {
    display: none;
  }
  .cmp tbody {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .cmp tr {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-surface);
  }
  .cmp tbody th {
    width: auto;
    padding: 16px 18px 6px;
    border: 0;
  }
  .cmp tbody td {
    display: grid;
    grid-template-columns: 22px 92px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 8px 18px;
    border: 0;
  }
  .cmp tbody td:last-child {
    padding-bottom: 16px;
  }
  .cmp tbody td::before {
    content: attr(data-label);
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-subtle);
  }
  .mk {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }
  .cmp__us {
    border: 2px solid var(--accent);
  }
  .cmp__us th,
  .cmp__us td {
    border: 0;
  }
}

/* 언어 바꾸기 링크와, 브라우저 언어가 다를 때 위에 뜨는 안내 */
.lp .lang-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}
.lp .lang-link:hover {
  color: var(--text);
}
.lang-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 10px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.lang-bar a {
  font-weight: 600;
}
.lang-bar button {
  border: 0;
  background: none;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
  padding: 4px 8px;
}
