/*
 * Framo 소개 페이지. 색과 글꼴, 글자 단계는 앱과 같다:
 * 흰 바탕, 화이트 테마의 글자색과 줄 색(src/deck/themes.ts), 코발트 강조색, 그것을 깊게 가라앉힌 남색 면 하나,
 * 프리텐다드 한 벌, 비율 1.2의 글자 단계(src/slides/styles/base.css). 장식은 두지 않고 화면 그림이 주인공이다.
 */

:root {
  --bg: #ffffff;
  --ink: #16171a;
  --ink-2: #4a4c52;
  --ink-3: #727479;
  --line: #e6e7ea;
  --line-2: #d2d6dc;
  --surface: #f4f4f6;
  --accent: #2f55d4;
  /* 앱이 흰 테마에서 표지 옆면, 결정 요청 같은 넓은 면에 까는 색 (강조색을 깊게 가라앉힌 색) */
  --deep: #1d3175;
  /* 앱의 짙은 단추 */
  --button: #191c22;
  /* 앱 편집기의 고르기 색 (src/styles/base.css). 판의 점에만 쓴다 */
  --sel: #3a6ff8;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 8vw, 112px);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.004em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

a {
  color: var(--accent);
  text-underline-offset: 4px;
}

b {
  color: var(--ink);
  font-weight: 700;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] {
  scroll-margin-top: 24px;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--button);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nw {
  white-space: nowrap;
}

/* ---------- 머리줄 ---------- */

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo {
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--surface);
  color: var(--ink);
}

.nav-gh {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--ink-2);
}

.nav-gh svg {
  width: 20px;
  height: 20px;
}

.nav-gh:hover {
  background: var(--surface);
  color: var(--ink);
}

/* ---------- 단추 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px 0 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-i {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-dark {
  background: var(--button);
  color: #fff;
}

.btn-dark:hover {
  background: #2c3039;
}

.btn-line {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--ink);
}

.btn-line:hover {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px #bfc4cb;
}

/* 남색 면 위의 단추 */
.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #e9edf8;
}

/* 남색 면 위에서 보고 있는 컴퓨터가 아닌 쪽의 단추 (main.js) */
.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.42);
  color: #fff;
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.7);
}

/* ---------- 화면 그림 ---------- */

/* 앱 화면을 찍은 그림. 그림자 대신 얇은 테두리 하나: 화면이 종이 위에 놓인 것처럼 */
.shot img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(22 23 26 / 0.1);
}

.shot-dark img {
  box-shadow: none;
}

.shot figcaption,
.grid-shot figcaption {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- 첫 화면 ---------- */

.hero {
  padding: clamp(32px, 5vw, 64px) 0 0;
}

.hero h1 {
  max-width: 24em;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.032em;
}

.lede {
  max-width: 50em;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.65;
}

/* 넓은 화면에서는 문장마다 한 줄. 좁으면 그냥 흘린다 */
@media (min-width: 861px) {
  .lede span {
    display: block;
  }
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.cta-note {
  margin-left: 10px;
  color: var(--ink-3);
  font-size: 14px;
}

.hero-shot {
  margin-top: clamp(36px, 4.5vw, 56px);
}

/* ---------- 구역 공통 ---------- */

.how,
.more,
.security,
.download {
  padding: var(--section) 0;
}

h2 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.028em;
}

.section-lede {
  max-width: 44em;
  margin-top: 12px;
  font-size: 17px;
}

h3 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.022em;
}

/* 앱의 프레임 잡기 위쪽의 단계 표시와 같은 동그라미 */
.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-n {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--button);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.step-text {
  max-width: 30em;
  margin-top: 10px;
  padding-left: 38px;
}

/* ---------- 만드는 순서: 고르면 구성이 바뀌는 판 ---------- */

.how {
  padding-bottom: 0;
}

.sim {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px clamp(32px, 4vw, 56px);
  align-items: start;
  margin-top: 40px;
}

.step-head-2 {
  margin-top: 40px;
}

.pick {
  padding-left: 38px;
}

.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  min-width: 0;
  /* 글 줄의 왼쪽 안쪽 여백만큼 당겨 글자가 위 문단과 줄을 맞춘다(묶음 이름은 되돌린다) */
  margin: 20px 0 0 -8px;
  padding: 0;
  border: 0;
}

.choice legend {
  width: 100%;
  margin-bottom: 6px;
  padding: 0 0 0 8px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.choice label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

/* 단추는 진짜 라디오: 방향키로 고르고, 화면 낭독기가 '선택됨'을 읽는다 */
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/*
 * 고르는 말: 앱(새 발표 만들기)과 같은 글 줄. 테 두른 알약과 검게 칠한 고른 알약은 앱에서 없앤 모양이라
 * 홍보 페이지만 예전 앱처럼 보였다. 고른 것은 선택 색과 굵기로만
 */
.choice span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.choice label:hover span {
  background: var(--surface);
  color: var(--ink);
}

.choice input:checked + span {
  color: var(--sel);
  font-weight: 700;
}

.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sim-out {
  min-width: 0;
}

.sim-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.sim-type {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
}

.sim-type strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.022em;
}

.sim-type span {
  color: var(--ink-3);
  font-size: 14px;
}

.sim-count {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: slide;
}

.deck li {
  min-width: 0;
  counter-increment: slide;
}

/* 장은 1920×1080 종이: 모서리를 거의 굴리지 않고 얇은 테두리만 */
.deck img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.deck span {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.deck span::before {
  content: counter(slide);
  min-width: 1.1em;
  color: var(--ink-3);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.sim-note {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.6;
}

/* 3, 4단계: 그림 위, 글 아래로 나란히 */
.later {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(32px, 4vw, 56px);
  margin-top: clamp(64px, 7vw, 88px);
}

.later-step .shot {
  margin-bottom: 24px;
}

.later-step .shot img {
  aspect-ratio: 1.6;
  object-fit: cover;
  object-position: top left;
}

/* ---------- 그 밖에 ---------- */

.compose {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(32px, 4vw, 64px);
  align-items: center;
  margin-top: 40px;
}

.grid-frame {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgb(22 23 26 / 0.1);
}

.grid-frame img {
  width: 100%;
}

.compose-text p {
  margin-top: 12px;
}

.extras {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px clamp(24px, 3vw, 40px);
  margin: clamp(56px, 6vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}

.extras li {
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}

.extras h3 {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.018em;
}

.extras p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- 보안: 앱의 '한 장 요약'처럼 왼쪽에 한 줄 결론, 오른쪽에 근거 ---------- */

/* 앱 화면의 바탕과 같은 연회색 */
.security {
  background: var(--surface);
}

.summary {
  margin-top: 40px;
  border-top: 1px solid var(--line-2);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 8px clamp(32px, 4vw, 56px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
}

.row h3 {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.row-body {
  max-width: 44em;
}

.ai-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
  table-layout: fixed;
}

.ai-table th {
  padding: 0 16px 10px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.ai-table td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}

.ai-table tr:last-child td {
  border-bottom: 0;
}

.ai-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.ai-table td:last-child {
  color: var(--ink-3);
}

.oss-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 12px;
}

.oss-links a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
}

.oss-links a:hover {
  text-decoration-color: var(--ink);
}

/* ---------- 내려받기: 발표의 마지막 장처럼 남색 면 하나 ---------- */

.download {
  background: var(--deep);
  color: rgb(255 255 255 / 0.78);
}

.download h2,
.download h3,
.download h4,
.download b {
  color: #fff;
}

.download .section-lede {
  color: rgb(255 255 255 / 0.78);
}

.download :focus-visible {
  outline-color: #fff;
}

/* 제목 줄 오른쪽에 지금 받는 판 */
.dl-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.dl-ver {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.dl-ver span {
  margin-left: 12px;
  color: rgb(255 255 255 / 0.6);
  font-weight: 500;
}

.os {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(32px, 5vw, 80px);
  margin-top: 40px;
}

.os-col {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.28);
}

.os-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.os-head h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.os-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.os-mine {
  color: rgb(255 255 255 / 0.62);
  font-size: 14px;
  font-weight: 600;
}

/* 맞는 컴퓨터와 받는 파일. 이름 칸 너비를 두 줄이 같이 써서 값의 첫 글자가 맞는다 */
.os-meta {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 20px;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(255 255 255 / 0.18);
  font-size: 15px;
}

.os-meta div {
  display: contents;
}

.os-meta dt {
  color: rgb(255 255 255 / 0.6);
}

.os-meta dd {
  margin: 0;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.howto {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: howto;
}

.howto li {
  position: relative;
  min-height: 28px;
  margin: 0 0 14px;
  padding-left: 42px;
  counter-increment: howto;
}

.howto li::before {
  content: counter(howto);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.file {
  display: inline-block;
  padding: 0 8px;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  white-space: nowrap;
}

.first {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}

.first h4 {
  font-size: 14px;
}

.first p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.68;
}

/* 두 쪽 아래에 새 판으로 바꾸는 법. 차례가 아니라서 번호 없이, 위의 두 쪽과 같은 칸에 나란히 */
.dl-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(32px, 5vw, 80px);
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgb(255 255 255 / 0.28);
}

.dl-more h4 {
  font-size: 16px;
}

.dl-more p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.68;
}

.dl-more a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.dl-more a:hover {
  text-decoration-color: #fff;
}

/* ---------- 바닥줄 ---------- */

.foot {
  padding: 40px 0 48px;
}

.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: center;
}

.foot-about {
  color: var(--ink-2);
  font-size: 15px;
}

.foot-about b {
  margin-right: 10px;
  font-size: 17px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.foot-links a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot-small {
  grid-column: 1 / -1;
  color: var(--ink-3);
  font-size: 14px;
}

.foot-small a {
  color: inherit;
}

/* ---------- 화면 너비 ---------- */

/* 고르는 판이 높을 때만 따라 내려온다. 창이 낮으면 판 아래쪽이 가려지니 두지 않는다 */
@media (min-width: 1081px) and (min-height: 800px) {
  .sim-pick {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 38px;
  }

  .sim {
    grid-template-columns: minmax(0, 1fr);
  }

  .extras {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .compose,
  .row,
  .later,
  .os,
  .dl-more {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .top-in {
    height: 56px;
  }

  .nav-link:not(.nav-link-dl) {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.32;
  }

  .lede {
    margin-top: 14px;
    font-size: 16px;
  }

  .cta {
    margin-top: 24px;
  }

  .cta .btn {
    flex: 1 1 100%;
  }

  .cta-note {
    margin: 4px 0 0;
  }

  h2 {
    font-size: 26px;
  }

  .section-lede {
    font-size: 16px;
  }

  h3 {
    font-size: 18px;
  }

  .sim {
    margin-top: 36px;
  }

  .step-text,
  .pick {
    padding-left: 0;
  }

  .step-text {
    margin-top: 12px;
  }

  .deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .sim-type strong {
    font-size: 18px;
  }

  .extras {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .os-head .btn {
    width: 100%;
  }

  .foot-in {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}

/* ---------- 세 단계 (만드는 순서) ----------
   고르는 판(발표 종류 13가지 × 듣는 사람 × 시간과 장 그림 일곱 장)은 길고 지루했다(사용자). 한 줄씩의 세 단계와 화면 그림 둘로 */
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps3 li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.steps3-n {
  display: block;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps3 h3 {
  margin: 6px 0 8px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.steps3 p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.steps3-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.steps3-shots .shot {
  margin: 0;
}

/* ---------- 보안: 네 줄과 '자세히 보기' ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.trust h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.trust p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.more-link {
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.more-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 다운로드: 단추와 한 줄 ---------- */
.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.dl-meta {
  margin: 20px 0 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 15px;
}

/* 흰 바탕 위의 글자 단추(맨 위 '설치 방법') */
.btn-text {
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-text:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

button.btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

/* ---------- 팝업 ---------- */
.pop {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 40px clamp(20px, 4vw, 48px) 48px;
  border: 0;
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink-2);
  overflow: auto;
}

.pop::backdrop {
  background: rgb(16 18 24 / 0.55);
}

.pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pop-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.pop-x {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pop-deep {
  background: var(--deep);
  color: rgb(255 255 255 / 0.86);
}

.pop-deep .pop-head h2,
.pop-deep h3,
.pop-deep h4,
.pop-deep b {
  color: #fff;
}

.pop-deep .pop-x {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
}

.pop-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.pop-cols h3 {
  margin: 8px 0 12px;
  font-size: 22px;
}

@media (max-width: 860px) {
  .steps3,
  .trust,
  .steps3-shots,
  .pop-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
