/* InfluStance 소개 페이지 v2 — 세로 스크롤 한 페이지. 외부 라이브러리 없음 */
:root {
  --paper: #fffdf9;
  --ink: #1b1d21;
  --muted: #616770;
  --tint: #f4f1ea;
  --green: #2f5a25;
  --green-sub: #cfe3c6;
  --warn: #e2ac55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  /* 한글이 단어 중간에서 꺾이지 않게. 긴 주소는 넘치지 않게 anywhere로 받는다 */
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 760px;
}

/* 0. 머리글 */
.head {
  background: var(--green);
  color: var(--paper);
}
.head-inner {
  height: 56px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo-ko {
  font-size: 13px;
  color: var(--green-sub);
}

/* 1·5. 짙은 초록 절 */
.hero {
  background: var(--green);
  color: var(--paper);
  padding: 32px 0 48px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-text {
  min-width: 0;
}
.hero-title {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  display: flex;
  flex-direction: column;
}
.hero-sub {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--green-sub);
  max-width: 560px;
}
.closing-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.hero-img {
  display: flex;
  justify-content: center;
}
.hero-img img {
  width: 350px;
}

/* 이메일 폼 */
.signup {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}
.signup input {
  height: 52px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--green-sub);
  background: rgba(255, 253, 249, 0.12);
  color: var(--paper);
  font: inherit;
  font-size: 16px;
}
.signup input::placeholder {
  color: var(--green-sub);
}
.signup input[aria-invalid="true"] {
  border-color: var(--warn);
}
.signup button {
  height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  color: var(--green);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
.signup-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--green-sub);
  max-width: 520px;
}
.signup-note a {
  color: var(--green-sub);
}
.signup-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--warn);
}

/* 전송 뒤 감사 상태 — 폼과 같은 자리, 같은 높이 */
.signup-done {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  max-width: 520px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.12);
  font-size: 16px;
}

/* 2·4·6. 밝은 절 */
.plain {
  background: var(--paper);
  padding: 56px 0;
}
.tint {
  background: var(--tint);
  padding: 56px 0;
}
.plain h2,
.tint h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.small-head {
  font-size: 22px !important;
}
.lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.cols {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.cols li {
  border-top: 2px solid var(--ink);
  padding-top: 12px;
}
.cols h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}
.cols p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.rules {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.rules li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e2d8;
  font-size: 15px;
  line-height: 1.55;
}
.rules li:first-child {
  border-top: 1px solid #e6e2d8;
}
.num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--muted);
  flex: 0 0 auto;
}

.privacy {
  margin: 20px 0 0;
}
.privacy div {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e6e2d8;
  font-size: 15px;
}
.privacy dt {
  flex: 0 0 96px;
  color: var(--muted);
}
.privacy dd {
  margin: 0;
}

/* 7. 바닥글 */
.foot {
  background: var(--paper);
  padding: 32px 0 48px;
  font-size: 13px;
  color: var(--muted);
}
.foot a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (min-width: 1024px) {
  .head-inner {
    height: 72px;
  }
  .hero {
    padding: 48px 0 96px;
  }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .hero-text {
    flex: 6 1 0;
  }
  .hero-img {
    flex: 5 1 0;
  }
  .hero-img img {
    width: 440px;
  }
  .hero-title {
    font-size: 64px;
  }
  .hero-sub {
    font-size: 20px;
  }
  .closing-title {
    font-size: 40px;
  }
  .plain,
  .tint {
    padding: 96px 0;
  }
  .plain h2,
  .tint h2 {
    font-size: 40px;
  }
  .small-head {
    font-size: 28px !important;
  }
  .lead {
    font-size: 20px;
  }
  .cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .cols h3 {
    font-size: 22px;
  }
  .cols p {
    font-size: 16px;
  }
  .rules li {
    font-size: 18px;
  }
  .signup {
    flex-direction: row;
  }
  .signup input {
    flex: 1;
  }
  .signup button {
    flex: 0 0 auto;
    padding: 0 24px;
  }
}
