:root {
  --bg: #f6fbff;
  --bg-strong: #e4f2ff;
  --ink: #12304a;
  --ink-soft: #55718a;
  --blue: #1586e8;
  --blue-deep: #0d5fa9;
  --line: rgba(18, 48, 74, 0.12);
  --line-strong: rgba(18, 48, 74, 0.22);
  --white: #ffffff;
  --peach: #ffe1d1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Pretendard", "SUIT", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  word-break: keep-all;
  line-break: strict;
  background:
    linear-gradient(180deg, rgba(21, 134, 232, 0.07), transparent 14rem),
    linear-gradient(180deg, var(--bg) 0%, #fbfdff 100%);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
li,
a,
button,
span {
  word-break: keep-all;
  line-break: strict;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.topline p {
  margin: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 24px 24px;
}

.hero::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: 36vw;
  height: 36vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle, rgba(21, 134, 232, 0.18), transparent 70%);
  content: "";
  pointer-events: none;
}

.hero__inner,
.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 64px;
  align-items: end;
}

.hero__copy {
  padding: 24px 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.join-row h3,
.agenda-group h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
  line-height: 1.02;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__lead {
  max-width: 30rem;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.14rem;
  line-height: 1.8;
}

.hero__lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.hero__lines p {
  width: fit-content;
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(21, 134, 232, 0.22);
  color: var(--blue-deep);
  font-size: 1.02rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__visual {
  position: relative;
  margin: 0;
  padding-left: 24px;
}

.hero__visual::before {
  position: absolute;
  left: 0;
  top: 4%;
  width: calc(100% - 36px);
  height: 92%;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(21, 134, 232, 0.12), rgba(21, 134, 232, 0.02));
  content: "";
}

.hero__visual img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  border-radius: 30px;
  box-shadow: 0 30px 65px rgba(13, 95, 169, 0.18);
}

.section {
  padding: 0 24px;
}

.section--statement,
.section--agenda,
.section--join {
  background: linear-gradient(180deg, transparent, transparent);
}

.section--flow,
.section--trust {
  background: var(--white);
}

.section__inner {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.section__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.section__inner--wide {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.section--statement .section-heading {
  display: grid;
  gap: 20px;
  align-content: start;
}

.section--statement .eyebrow {
  margin-bottom: 0;
}

.section--statement .statement {
  padding-top: 30px;
}

.section--trust .section-heading {
  display: grid;
  gap: 20px;
  align-content: start;
}

.section--trust .eyebrow {
  margin-bottom: 0;
}

.section--trust .statement {
  padding-top: 30px;
}

.section-heading--compact h2 {
  max-width: none;
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
}

.section--statement .section-heading h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
  line-height: 1.12;
}

.section-title--two-line span {
  display: block;
  white-space: nowrap;
}

.statement {
  display: grid;
  gap: 18px;
}

.statement p,
.flow-item p,
.agenda-group li,
.join-row p,
.join-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1.02rem;
}

.flow-list {
  border-top: 1px solid var(--line);
}

.flow-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.flow-item__index,
.join-row__meta span {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.flow-item h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 38px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.agenda-group {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.agenda-group h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.agenda-group ul {
  margin: 0;
  padding-left: 18px;
}

.agenda-group li + li {
  margin-top: 8px;
}

.section--trust .section__inner {
  border-top-color: var(--line-strong);
}

.statement--trust {
  padding-top: 10px;
}

.join-rows {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.join-row {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.join-row__meta {
  display: grid;
  gap: 6px;
}

.join-row h3 {
  font-size: 1.32rem;
}

.join-row .button {
  min-width: 180px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 95, 169, 0.32);
}

.button--primary {
  border-color: transparent;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.button--muted {
  background: rgba(228, 242, 255, 0.7);
}

.join-note {
  margin-top: 16px;
}

.floating-approval {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
}

.floating-approval__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(18, 48, 74, 0.14);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(13, 95, 169, 0.2);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.floating-approval__close:hover {
  color: var(--blue-deep);
}

.floating-approval__link {
  display: block;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(13, 95, 169, 0.22);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.floating-approval__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(13, 95, 169, 0.26);
}

.floating-approval img {
  display: block;
  width: clamp(220px, 20vw, 320px);
  max-height: 48vh;
  border: 1px solid rgba(18, 48, 74, 0.16);
  border-radius: 8px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .hero__inner,
  .section__inner--split,
  .join-row {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero__visual {
    padding-left: 0;
  }

  .hero__visual::before {
    width: 100%;
  }

  .hero__visual img {
    margin: 0 auto;
  }

  .agenda-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topline {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4rem);
    line-height: 1;
  }

  .hero__title-line {
    display: block;
    white-space: normal;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__actions {
    display: grid;
  }

  .section__inner {
    padding: 36px 0;
  }

  .section-heading h2 {
    font-size: 1.7rem;
  }

  .section--statement .section-heading h2 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
    line-height: 1.14;
  }

  .section-title--two-line span {
    white-space: nowrap;
  }

  .section--statement .statement {
    padding-top: 0;
  }

  .section--trust .statement {
    padding-top: 0;
  }

  .flow-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .join-row {
    gap: 14px;
  }

  .floating-approval {
    right: 12px;
    bottom: 12px;
  }

  .floating-approval img {
    width: min(42vw, 180px);
    max-height: 34vh;
  }
}
