/* 팬덤이 홈. 흰 바탕에 먹색 글자이고, 브랜드 색은 인스타 알림 빨강이다.
   구역은 흰색 / 옅은 빨강 / 옅은 회색 바탕을 번갈아 써서 가른다. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --card: #ffffff;
  --ink: #111113;
  --ink-2: #4a4a4f;
  --muted: #5e5e63;
  --faint: #6e6e73;
  --line: #ececee;
  --line-strong: #dadada;
  --fill: #f4f4f5;
  --on-ink: #ffffff;
  /* 인스타 알림 빨강. 흰 바탕 대비 3.6:1 이라 24px 굵은 글자 이상과 그림에만 쓴다. */
  --brand: #ff3040;
  /* 버튼과 작은 강조 글자. 흰 글자·흰 바탕 대비 4.8:1, 회색 면 대비 4.6:1 이다. 옅은 빨강 면 위의 작은 글자에는 쓰지 않는다. */
  --brand-ink: #e01e37;
  --brand-ink-hover: #c8102e;
  /* 구역 바탕 */
  --tint: #fff2f3;
  --gray: #fafafb;
  --shadow:
    0 1px 2px rgba(17, 17, 19, 0.04), 0 18px 40px rgba(17, 17, 19, 0.08);
  --shadow-sm:
    0 1px 2px rgba(17, 17, 19, 0.04), 0 10px 28px rgba(17, 17, 19, 0.05);
  --sans:
    "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo",
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 10px;
}
.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.i {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

/* ── 버튼 ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: var(--on-ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    transform 0.15s;
}
.btn:hover,
.btn:focus-visible {
  background: var(--brand-ink-hover);
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

/* 버튼 강조. 숨 쉬듯 커졌다 줄며 테두리 빛이 퍼지는 움직임을 빠르고 크게 쓴다.
   손이나 초점이 오면 멈춘다. 움직임을 줄인 기기에서는 맨 아래 규칙이 모두 끈다. */
/* 「바로 시작하기」(내비·요금제): 1.8초마다 맥박이 뛰며 빨강 링이 퍼지고, 두 박자에 한 번 빛이 지나간다.
   빛은 바탕 위, 글자 아래에 있다. 크기와 링 폭은 버튼마다 --beat-scale·--beat-ring 으로 정한다. */
.nav-cta .btn,
.plan-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: beat 1.8s ease-out infinite;
}
.nav-cta .btn {
  --beat-scale: 1.05;
  --beat-ring: 9px;
}
.plan-btn {
  --beat-scale: 1.03;
  --beat-ring: 16px;
}
.nav-cta .btn::after,
.plan-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 75%
  );
  transform: translateX(-110%);
  animation: shine 3.6s ease-in-out infinite;
  pointer-events: none;
}
.nav-cta .btn:hover,
.nav-cta .btn:focus-visible,
.plan-btn:hover,
.plan-btn:focus-visible {
  animation: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(224, 30, 55, 0.32);
}
.nav-cta .btn:hover::after,
.nav-cta .btn:focus-visible::after,
.plan-btn:hover::after,
.plan-btn:focus-visible::after {
  animation: none;
}
.nav-cta .btn:active,
.plan-btn:active {
  transform: scale(0.98);
}
@keyframes beat {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(224, 30, 55, 0.5);
  }
  35% {
    transform: scale(var(--beat-scale));
  }
  70%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 var(--beat-ring) rgba(224, 30, 55, 0);
  }
}
@keyframes shine {
  0%,
  55% {
    transform: translateX(-110%);
  }
  85%,
  100% {
    transform: translateX(110%);
  }
}

/* ── 로고 ─────────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.045em;
}
.mark {
  width: 26px;
  height: 26px;
}
.mark-bubble {
  fill: var(--brand);
}
.mark-heart {
  fill: var(--card);
}
.logo-sm {
  font-size: 16px;
}
.logo-sm .mark {
  width: 22px;
  height: 22px;
}

/* ── 내비 ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 44px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-login {
  font-size: 14.5px;
  font-weight: 600;
}

/* ── 1. 서비스 한 줄 ──────────────────────────────── */
/* 첫 구역이라 위는 내비 아래 여백만 둔다. 아래는 빨강 면 끝에서 다른 구역과 같은 120 이다(떠 있는 버튼의 제자리 72 를 뺀 48). */
.hero {
  padding: 56px 0 48px;
}

/* 네 페르소나의 스토리 알약. 동그라미 안은 대표 사진이고 이름은 옆에 둔다. */
.who {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.who button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px 0 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.who button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}
.who button.on {
  border-color: transparent;
  background: var(--tint);
  color: var(--ink);
  font-weight: 700;
}

/* 스토리 동그라미. 사진과 링 사이에 흰 틈을 둔다. 지금 사람의 링은 그라데이션으로 차오른다. */
.ring {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
}
.ring img {
  position: absolute;
  inset: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
}
.ring .track {
  stroke: var(--line-strong);
  stroke-width: 1.5;
}
.ring .run {
  stroke: url(#g-ring);
  stroke-width: 2.5;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}
.on > .ring .track {
  stroke: #f6d4d8;
}
.on > .ring .run {
  stroke-dashoffset: 0;
  opacity: 1;
}
/* 스크립트가 돌릴 때만 링이 시간에 맞춰 찬다. 길이는 그 사람 장면의 한 바퀴다(app.js). */
.who.auto .on .run {
  animation: ring-fill 10s linear both;
}
.who.auto.pause .on .run,
.who.auto.off .on .run {
  animation-play-state: paused;
}
.who.auto.hold .on .run {
  animation: none;
}
@keyframes ring-fill {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.say {
  margin-top: 32px;
  font-size: 64px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.say-rot,
.say-when {
  display: grid;
}
/* 네 문장이 한 칸에 겹쳐 있고 지금 사람의 것만 보인다. 칸 높이는 가장 긴 문장의 것이라 바뀌어도 아래가 흔들리지 않는다. */
.say-rot > span,
.say-when > span {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.3em);
}
.say-rot > .on,
.say-when > .on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.say-rot > .was,
.say-when > .was {
  transform: translateY(-0.2em);
}
/* 나가는 문장이 먼저 위로 빠지고(0.22초), 들어오는 문장이 아래에서 올라온다. 둘이 겹쳐 보이지 않는다. */
.moving .say-rot > span,
.moving .say-when > span {
  transition:
    opacity 0.2s ease-in,
    transform 0.22s ease-in,
    visibility 0s linear 0.22s;
}
.moving .say-rot > .on,
.moving .say-when > .on {
  transition:
    opacity 0.4s ease-out 0.22s,
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) 0.22s,
    visibility 0s linear 0.22s;
}
/* 앞줄의 핵심 말. 그 기능을 가르는 말이다. */
.say mark {
  background: none;
  color: var(--brand);
}
.say-fix {
  display: block;
}
.say-when {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.02em;
}

/* 옅은 빨강 면. 왼쪽부터 인스타 게시물, 그 게시물에서 일어나는 Instagram 장면, 기능 이름과 한 줄 설명이다.
   장면은 면 아래 끝에 닿아 잘린 듯이 두고, 게시물과 설명은 면의 세로 가운데에 둔다. */
.show {
  display: grid;
  grid-template-columns: 300px 312px 264px;
  justify-content: center;
  align-items: center;
  column-gap: 52px;
  margin-top: 48px;
  padding: 44px 32px 0;
  border-radius: 28px;
  background: var(--tint);
}
.show-post,
.show-phone,
.show-note {
  display: grid;
}
.show-post,
.show-note {
  margin-top: -44px;
}
.show-phone {
  align-self: end;
}
/* 네 사람의 것이 한 칸에 겹쳐 있고 지금 사람의 것만 보인다. */
.show-post > *,
.show-phone > *,
.show-note > * {
  grid-area: 1 / 1;
}
.show [data-who] {
  opacity: 0;
  visibility: hidden;
}
.show [data-who].on {
  opacity: 1;
  visibility: visible;
}
.moving .show [data-who] {
  transition:
    opacity 0.22s ease-in,
    visibility 0s linear 0.22s;
}
.moving .show [data-who].on {
  transition: opacity 0.4s ease-out 0.12s;
}

/* 인스타 게시물 */
.post {
  align-self: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.post-head img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(17, 17, 19, 0.06);
}
.post-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.post-acts {
  display: flex;
  gap: 14px;
  padding: 11px 14px 13px;
}
.post-acts svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.post-acts .post-save {
  margin-left: auto;
}

/* 장면. 화면은 scenes.css 가 그린다. 여기서는 겉만 정한다: 바탕 없이 화면 하나를 면 아래 끝에 붙이고 크기를 맞춘다. */
.stage {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  font-size: 13.5px;
  line-height: 1.45;
}
.show .stage.stage-ig {
  gap: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}
.show .stage > .ig,
.show .stage > .sd-ig,
.show .stage > .ig-phone {
  zoom: 0.8;
  box-shadow:
    0 0 0 1px rgba(17, 17, 19, 0.04),
    0 -6px 40px rgba(17, 17, 19, 0.08);
}

/* 기능 이름과 한 줄 설명 */
.show-note p {
  align-self: center;
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
/* 이 사람의 설정 순서를 가이드의 「사용 사례」 에서 이어 본다. */
.note-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-ink);
}
.note-more:hover,
.plan-limit a:hover,
.faq-more a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.show-note b {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* 위로 밀려 잘리는 옛 메시지는 흐리게 사라진다. */
.flow {
  flex: 1;
  min-height: 0;
  justify-content: flex-end;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 36px);
  mask-image: linear-gradient(transparent, #000 36px);
}
.flow > * {
  flex: none;
}

/* 장면이 돌 때만 숨겼다가 차례로 보인다(app.js). 스크립트가 없으면 마지막 모습이 다 보인다. */
.play [data-step] {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.play [data-step]:not(.on) {
  opacity: 0;
  transform: translateY(8px);
}
.play .flow [data-step]:not(.on) {
  display: none;
}
.play .flow [data-step].on {
  animation: rise 0.4s ease both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 첫 화면 아래 가운데에 떠 있는 버튼. 이 구역 안에서만 바닥에 붙어 있어서, 스크립트 없이도 구역이 지나가면 같이 사라진다.
   제자리는 빨강 면 바로 아래다. 면이 다 보일 만큼 내리면 제자리에 내려앉아 장면을 가리지 않는다. */
.to-price {
  position: sticky;
  bottom: 24px;
  z-index: 6;
  display: flex;
  justify-content: center;
  margin-top: 24px;
  pointer-events: none;
}
.to-price a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 30px rgba(17, 17, 19, 0.25);
  pointer-events: auto;
  transform-origin: 50% 100%;
  /* 첫 화면에 아래에서 쑥 올라오며 나타난 뒤, 1.6초마다 위로 톡 튀어 오른다. */
  animation:
    price-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
    hop 1.6s 1.2s infinite;
  transition:
    background-color 0.15s,
    transform 0.15s;
}
.to-price a:hover,
.to-price a:focus-visible {
  animation: none;
  background: #2c2c31;
  transform: translateY(-2px);
}
.to-price a:active {
  transform: scale(0.98);
}
/* 화살표는 박자 앞머리에 아래로 두 번 까딱한다. 손이나 초점이 오면 내려간 자리에 멈춘다. */
.to-price .i {
  animation: flick 1.6s 1.2s infinite;
  transition: transform 0.15s;
}
.to-price a:hover .i,
.to-price a:focus-visible .i {
  animation: none;
  transform: translateY(3px);
}
@keyframes price-in {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.85);
  }
}
/* 웅크렸다(눌림) → 10px 튀어 오르고 → 떨어지며 눌리고 → 작게 한 번 더 튄다. 튀어 오를 때 빨강 링이 퍼진다. */
@keyframes hop {
  0%,
  50% {
    transform: none;
    box-shadow:
      0 10px 30px rgba(17, 17, 19, 0.25),
      0 0 0 0 rgba(255, 48, 64, 0.6);
    animation-timing-function: ease-out;
  }
  58% {
    transform: scale(1.06, 0.9);
    animation-timing-function: ease-out;
  }
  70% {
    transform: translateY(-10px) scale(0.96, 1.06);
    animation-timing-function: ease-in;
  }
  80% {
    transform: scale(1.05, 0.93);
    animation-timing-function: ease-out;
  }
  88% {
    transform: translateY(-3px);
    animation-timing-function: ease-in;
  }
  95%,
  100% {
    transform: none;
    box-shadow:
      0 10px 30px rgba(17, 17, 19, 0.25),
      0 0 0 16px rgba(255, 48, 64, 0);
  }
}
@keyframes flick {
  0%,
  26%,
  100% {
    transform: none;
  }
  7%,
  19% {
    transform: translateY(5px);
  }
  13% {
    transform: none;
  }
}

/* ── 구역 ─────────────────────────────────────────── */
.section {
  padding: 120px 0;
}
.section-gray {
  background: var(--gray);
}
.sec-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.sec-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-ink);
}
.sec-head h2 {
  margin-top: 10px;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.sec-head h2:first-child {
  margin-top: 0;
}
.sec-sub {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ── 2. 요금제 ────────────────────────────────────── */
/* 다른 SaaS 의 플랜 카드처럼 세로 한 장이다. 칸·선 없이 여백으로 나눈다. */
.plan {
  max-width: 460px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-head h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
/* 연 결제 토글 */
.cycle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
/* 할인율 배지. 꺼져 있어도 보여서 켜기 전에 할인을 알린다. 빨강 면에 흰 글자라 작은 글자여도 4.8:1 이다. */
.cycle em {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: var(--on-ink);
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.switch {
  position: relative;
  flex: none;
  width: 40px;
  height: 24px;
  margin-left: 2px;
  border-radius: 999px;
  background: #cfcfd4;
  transition: background-color 0.2s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.2);
  transition: transform 0.2s;
}
.cycle[aria-checked="true"] .switch {
  background: var(--brand-ink);
}
.cycle[aria-checked="true"] .switch::after {
  transform: translateX(16px);
}
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 24px;
}
.plan-price b {
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.plan-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}
/* 연 결제를 켜면 달 값 옆에 1년에 아끼는 값이 붙는다. 옅은 빨강 면이라 글자는 --brand-ink 보다 진한 색이다(5.4:1). */
.plan-save {
  align-self: center;
  margin-left: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink-hover);
  font-style: normal;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  animation: save-in 0.35s ease-out both;
}
@keyframes save-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
}
/* 스크립트가 없으면 토글이 듣지 않으므로 숨기고 월 값만 보인다. */
.plan:not(.js) .cycle,
.plan:not(.yearly) [data-show="year"],
.plan.yearly [data-show="month"] {
  display: none;
}
.plan-vat {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.plan-btn {
  width: 100%;
  height: 52px;
  margin-top: 24px;
  font-size: 16px;
}
/* 버튼 바로 아래 한 줄. 7일 환불과 약관의 환불 조항(/terms/#refund)으로 가는 링크다. */
.plan-refund {
  margin-top: 12px;
  font-size: 13.5px;
  text-align: center;
  color: var(--muted);
}
.plan-refund a {
  margin-left: 4px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.plan-refund a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.plan-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-list .i {
  width: 18px;
  height: 18px;
  color: var(--brand-ink);
  stroke-width: 2.4;
}
.plan-limit {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
/* 한도를 더 알고 싶은 사람을 가이드의 「사용량과 한도」 로 보낸다. */
.plan-limit a {
  margin-left: 6px;
  font-weight: 600;
  color: var(--brand-ink);
}

/* ── 3. 보안과 데이터 ─────────────────────────────── */
/* 연결할 때 → 맡겨 둔 동안 → 그만둘 때 순서의 카드 셋. 위쪽은 애니메이션 자리(.sec-anim)이고 아래가 제목과 설명이다. */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.trust li {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}
/* 애니메이션은 이 칸을 채운다. 크기와 바탕은 이 규칙이 정한다. */
.sec-anim {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  overflow: hidden;
  background: var(--tint);
}
.trust-body {
  padding: 24px 28px 28px;
}
.trust-when {
  display: block;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}
.trust h3 {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 760;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.trust .nowrap {
  white-space: nowrap;
}
.trust p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  text-wrap: pretty;
}
.more {
  margin-top: 24px;
  font-size: 15px;
}
.more a {
  color: var(--ink-2);
}
.more a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 4. 자주 묻는 질문 ────────────────────────────── */
/* 랜딩에 없는 질문은 가이드로 넘긴다. */
.faq-more {
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-2);
}
.faq-more a {
  font-weight: 700;
  color: var(--brand-ink);
}
.faq {
  max-width: 800px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 2px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.faq details p {
  max-width: 680px;
  text-wrap: pretty;
  padding: 0 2px 24px;
  color: var(--muted);
}
/* 답 안의 링크는 글 속에 있어서 밑줄로 가른다. */
.faq details p a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 바닥 ─────────────────────────────────────────── */
.foot {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.foot-top {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
}
.foot-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 14px;
  color: var(--ink-2);
}
.foot-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.biz {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 24px;
}
.biz div {
  display: flex;
  gap: 6px;
}
.biz dt {
  color: var(--faint);
}
.copy {
  margin-top: 16px;
}

/* ── 없는 주소(404.html) ──────────────────────────── */
.lost {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.lost .logo {
  margin-bottom: 28px;
}
.lost h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.lost p {
  margin-bottom: 18px;
  color: var(--muted);
}

/* ── 좁은 화면 ────────────────────────────────────── */
/* 게시물·장면·설명 셋이 한 줄에 들지 않으면 게시물을 뺀다. */
@media (max-width: 1023px) {
  .show {
    grid-template-columns: 312px minmax(0, 300px);
    column-gap: 40px;
  }
  .show-post {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .say {
    font-size: 52px;
  }
  .trust {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
  .nav-in {
    height: 56px;
  }
  .nav-cta {
    gap: 14px;
  }
  .logo {
    font-size: 18px;
  }
  .mark {
    width: 24px;
    height: 24px;
  }
  .hero {
    padding: 28px 0 8px;
  }
  /* 폰에서는 인스타그램 스토리처럼 동그라미 아래에 이름을 둔다. */
  .who {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  .who button {
    flex-direction: column;
    gap: 6px;
    height: auto;
    padding: 0;
    border: 0;
    background: none;
    font-size: 12.5px;
  }
  .who button.on {
    background: none;
  }
  .who .ring {
    width: 60px;
    height: 60px;
  }
  .who .ring img {
    inset: 5px;
    width: 50px;
    height: 50px;
  }
  .say {
    margin-top: 24px;
    font-size: 34px;
    line-height: 1.22;
  }
  .say-when {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.5;
  }
  /* 장면 중심. 설명이 위에, 장면이 면 아래 끝에 붙는다. */
  .show {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 22px;
    margin-top: 32px;
    padding: 24px 16px 0;
    border-radius: 24px;
  }
  .show-note {
    order: -1;
    justify-self: stretch;
    margin-top: 0;
  }
  .show-note p {
    padding: 0 4px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 15px;
  }
  .show-note b {
    margin-bottom: 4px;
    font-size: 17px;
  }
  .show .stage > .ig,
  .show .stage > .sd-ig,
  .show .stage > .ig-phone {
    zoom: 0.74;
  }
  .section {
    padding: 80px 0;
  }
  .sec-head {
    margin-bottom: 32px;
  }
  .eyebrow {
    font-size: 14px;
  }
  .sec-head h2 {
    font-size: 32px;
    line-height: 1.25;
  }
  .sec-sub {
    margin-top: 10px;
    font-size: 16.5px;
  }
  .plan {
    padding: 24px 22px 26px;
    border-radius: 22px;
  }
  .plan-price b {
    font-size: 44px;
  }
  /* 폰에서는 달 값 옆에 들지 않아서 아래 줄 왼쪽에 붙는다. */
  .plan-price {
    row-gap: 10px;
  }
  .plan-save {
    margin-left: 0;
  }
  /* 두 칸이면 「인스타 계정 수 제한 없음」 이 두 줄로 갈려서 한 줄에 하나씩 둔다. */
  .plan-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 24px;
    font-size: 15px;
  }
  .trust {
    gap: 14px;
  }
  .sec-anim {
    height: 200px;
  }
  .trust-body {
    padding: 20px 22px 24px;
  }
  .trust h3 {
    font-size: 20px;
  }
  .faq summary {
    padding: 20px 2px;
    font-size: 16px;
  }
  .foot-top {
    flex-wrap: wrap;
    gap: 14px;
  }
  .foot-links {
    margin-left: 0;
    width: 100%;
  }
  .biz {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
