/* J.W Home Landing — 시안 1:1 */
:root {
  --cream: #ffffff;
  --white: #ffffff;
  --ink: #333333;
  --muted: #6f6760;
  --line: #eeeeee;
  --gold: #dda434;
  --gold-soft: #fbf5e8;
  --purple: #6050b1;
  --purple-soft: #f0eef8;
  --blue: #4a7fd4;
  --blue-soft: #e8f0fb;
  --footer: #2b2622;
  --header-btn: #333333;
  --danger: #e14b4b;
  --radius: 16px;
  --max: 1180px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
  image-rendering: -webkit-optimize-contrast;
}

.brand strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #111111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 650;
  color: #4a4540;
  margin-top: 3px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.65rem;
}

.nav a {
  font-size: 1.05rem;
  font-weight: 560;
  color: #3f3833;
}

.nav a:hover {
  color: var(--purple);
}

.nav a.btn--header,
a.btn--header,
.btn--header {
  background: linear-gradient(135deg, #4a4a4a 0%, #222 45%, #3a3a3a 100%) !important;
  color: #ffffff !important;
  padding: 0.72rem 1.3rem;
  font-size: 1rem;
  border-radius: 10px;
  font-weight: 700;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: btnShine 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.btn > * {
  position: relative;
  z-index: 2;
}

.btn:active {
  transform: scale(0.98);
}

.btn--gold,
.btn--gold-dark {
  background: linear-gradient(135deg, #f0c96a 0%, #dda434 38%, #c48e1e 72%, #e8b84a 100%);
  color: #ffffff !important;
  padding: 1.05rem 1.7rem;
  font-size: 1.08rem;
  text-shadow: 0 1px 1px rgba(120, 70, 0, 0.25);
  box-shadow:
    0 6px 20px rgba(221, 164, 52, 0.45),
    0 0 28px rgba(221, 164, 52, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 -1px 0 rgba(140, 90, 0, 0.2) inset;
}

.btn--purple {
  background: linear-gradient(135deg, #8a7ad4 0%, #6050b1 40%, #4a3d96 75%, #7262c4 100%);
  color: #ffffff !important;
  padding: 1.05rem 1.7rem;
  font-size: 1.08rem;
  text-shadow: 0 1px 1px rgba(40, 20, 90, 0.28);
  box-shadow:
    0 6px 20px rgba(96, 80, 177, 0.45),
    0 0 28px rgba(96, 80, 177, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 -1px 0 rgba(40, 30, 90, 0.22) inset;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn--gold:hover,
.btn--gold-dark:hover {
  box-shadow:
    0 8px 26px rgba(221, 164, 52, 0.55),
    0 0 36px rgba(221, 164, 52, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.btn--purple:hover {
  box-shadow:
    0 8px 26px rgba(96, 80, 177, 0.55),
    0 0 36px rgba(96, 80, 177, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.btn--header:hover {
  filter: brightness(1.08);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

@keyframes btnShine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn::before,
  .mobile-cta__btn::before,
  .su-toss::before {
    animation: none;
  }
}

.menu-btn {
  display: inline-flex;
  background: none;
  border: 0;
  padding: 0.4rem;
  color: var(--ink);
  cursor: pointer;
}

.drawer {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 1rem 1.1rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.drawer.open {
  display: flex;
}

.drawer a {
  padding: 0.7rem 0.2rem;
  font-weight: 560;
}

@media (min-width: 920px) {
  .nav {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .drawer {
    display: none !important;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 74vh, 700px);
  display: flex;
  align-items: center;
  background: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg picture,
.hero__bg img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__bg img {
  object-fit: cover;
  object-position: 72% center;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.92) 28%,
    rgba(255, 255, 255, 0.72) 48%,
    rgba(255, 255, 255, 0.28) 68%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 3.5rem 0;
}

.hero__body {
  max-width: 52rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.32;
  color: #222;
}

.hero p {
  margin-top: 1.45rem;
  color: #555;
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__cta .btn {
  padding: 1.2rem 2.1rem;
  font-size: 1.2rem;
  border-radius: 14px;
}

/* ===== Sections ===== */
.section {
  padding: 1.6rem 0;
}

.section--tight {
  padding-top: 0.4rem;
}

.panel {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 2.2rem 1.6rem;
  box-shadow: none;
}

@media (min-width: 768px) {
  .panel {
    padding: 2.4rem 2.1rem;
  }
}

/* Values */
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 1.2rem;
  text-align: center;
}

@media (min-width: 800px) {
  .values {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}

.value svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.9rem;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

.value p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Products */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

@media (min-width: 780px) {
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

.plan {
  border-radius: 16px;
  padding: 1.85rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #e8e4de;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  background: #fff;
}

.plan--gold {
  background: #fbf6ea;
  border-color: #eadfca;
}

.plan--purple {
  background: #f3f0f9;
  border-color: #ddd6ef;
}

.plan__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.plan h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #222;
  line-height: 1.3;
  flex-shrink: 0;
}

.plan--purple h3 {
  color: #4b3f9a;
}

.plan__price-box {
  text-align: right;
  flex-shrink: 0;
}

.plan__price {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #222;
  white-space: nowrap;
}

.plan--purple .plan__price {
  color: #4b3f9a;
}

.plan__vat {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #9a9590;
  line-height: 1.2;
}

.plan ul {
  margin: 0 0 1.45rem;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 0;
  font-size: 1.05rem;
  color: #555;
  margin: 0.4rem 0;
  line-height: 1.5;
}

.plan li::before {
  content: none;
}

.plan__btn {
  width: 100%;
  margin-top: auto;
}

.plan--gold .plan__btn {
  color: #fff !important;
}

/* Icon grids */
.icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem 0.7rem;
  text-align: center;
}

@media (min-width: 720px) {
  .icons--6 {
    grid-template-columns: repeat(6, 1fr);
  }
  .icons--7 {
    grid-template-columns: repeat(7, 1fr);
  }
}

.icon-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.icon-cell svg {
  width: 54px;
  height: 54px;
  stroke: #2f2a26;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-cell span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3a342f;
}

.icon-cell .x {
  position: absolute;
  top: 36px;
  left: calc(50% + 14px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

/* Process */
.process {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

@media (min-width: 900px) {
  .process {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.step {
  text-align: center;
  flex: 1;
  max-width: 220px;
}

.step__badge {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.step__badge svg {
  width: 56px;
  height: 56px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  font-size: 1.45rem;
  font-weight: 800;
}

.step p {
  margin-top: 0.4rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.step-arrow {
  display: none;
  color: #8eb4eb;
  font-size: 2rem;
  padding-top: 2.4rem;
  font-weight: 700;
}

@media (min-width: 900px) {
  .step-arrow {
    display: block;
  }
}

/* Info + legal */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 700px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem 1.4rem;
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
}

.info-card p {
  margin-top: 0.7rem;
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 1.25rem 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3f3833;
  text-align: center;
}

.link-btn:hover {
  border-color: #cfc8bf;
  background: #faf9f7;
}

/* Contact */
.contact {
  margin-top: 1.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 0.8rem;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-item {
  text-align: center;
}

.contact-item .ico {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.55rem;
  color: var(--blue);
}

.contact-item .ico.kakao {
  color: #3c1e1e;
  background: #fee500;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.contact-item .label {
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-item .value {
  margin-top: 0.3rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-item .hours {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #514943;
  line-height: 1.55;
  font-weight: 500;
}

/* Final CTA */
.final {
  text-align: center;
  padding: 4rem 0 4.2rem;
  background: #ffffff;
}

.final h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.final > p {
  margin-top: 0.85rem;
  font-size: 1.08rem;
  color: #4a433d;
}

.final__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* Footer */
.footer {
  background: var(--footer);
  color: #c8c0ba;
  padding: 2.6rem 0 1.6rem;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

@media (min-width: 820px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-brand img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 800;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  font-size: 0.88rem;
  color: #9b928b;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.98rem;
}

.footer-links row,
.footer-links .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-biz {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #9a918b;
}

.footer-copy {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  color: #7d746e;
}

/* ===== Signup (시안 단일 스크롤) ===== */
.hidden {
  display: none !important;
}
.form-error {
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 0.55rem;
}
.su {
  background: #f7f7f7;
  min-height: 100vh;
  padding: 1.5rem 0 3rem;
}
.su__wrap {
  width: min(100% - 1.5rem, 720px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.su-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 1.65rem 1.4rem 1.7rem;
}
.su-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.su-sub {
  font-size: 1rem;
  color: #777;
  margin-bottom: 1.1rem;
}
.su-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.su-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 150px;
  border-radius: 12px;
  border: 1px solid #e8e0d0;
  padding: 1rem 0.85rem 0.9rem;
  cursor: pointer;
}
.su-plan input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.su-plan--gold {
  background: #fbf6ea;
  border-color: #ead7a8;
}
.su-plan--purple {
  background: #f1eef8;
  border-color: #d5ceea;
}
.su-plan.is-selected {
  outline: 2px solid var(--gold);
}
.su-plan--purple.is-selected {
  outline-color: var(--purple);
}
.su-plan__top {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.su-plan--gold strong {
  color: #b8861a;
  font-size: 1rem;
}
.su-plan--purple strong {
  color: #4b3f9a;
  font-size: 1rem;
}
.su-plan__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #222;
}
.su-plan--purple .su-plan__price {
  color: #3f3685;
}
.su-plan__desc {
  font-size: 0.72rem;
  color: #777;
  line-height: 1.45;
}
.su-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #bbb;
  margin: 0 auto;
  display: block;
}
.su-plan.is-selected .su-radio {
  border-color: var(--purple);
  box-shadow: inset 0 0 0 4px var(--purple);
}
.su-plan--gold.is-selected .su-radio {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 4px var(--gold);
}
.su-field {
  margin-bottom: 0.9rem;
}
.su-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}
.su-field input[type="text"],
.su-field input[type="tel"] {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  background: #fff;
}
.su-phone {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.35rem;
  align-items: center;
}
.su-phone span {
  color: #aaa;
  text-align: center;
}
.su-zip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}
.su-find {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  padding: 0 0.95rem;
  font-weight: 650;
  cursor: pointer;
}
.su-agree {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.su-agree__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.15rem 0;
}
.su-agree__row label {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}
.su-agree__row em {
  font-style: normal;
  color: #e14b4b;
  font-size: 0.78rem;
}
.su-view {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: #444;
  background: #fff;
  white-space: nowrap;
}
.su-agree__all {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eee;
}
.su-agree__all label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  cursor: pointer;
}
.su-pay-sum {
  font-weight: 700;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}
.su-toss {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #3d8cff 0%, #0064ff 42%, #0050d6 78%, #2b7fff 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0, 40, 120, 0.3);
  box-shadow:
    0 6px 20px rgba(0, 100, 255, 0.42),
    0 0 26px rgba(0, 100, 255, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
  transition: filter 0.2s, box-shadow 0.25s, transform 0.15s;
}

.su-toss::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: btnShine 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.su-toss > * {
  position: relative;
  z-index: 2;
}

.su-toss:hover {
  filter: brightness(1.06);
  box-shadow:
    0 8px 26px rgba(0, 100, 255, 0.52),
    0 0 34px rgba(0, 100, 255, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.su-toss:active {
  transform: scale(0.99);
}
.su-toss__logo {
  width: 22px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.su-toss__logo::before,
.su-toss__logo::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(-28deg);
}
.su-toss__logo::before {
  left: 0;
  top: 0;
}
.su-toss__logo::after {
  left: 7px;
  top: 5px;
  opacity: 0.85;
}
.su-done {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0 0.2rem;
  opacity: 0.45;
}
.su-done.is-done {
  opacity: 1;
}
.su-done__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1f7a4d;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
}
.su-done strong {
  display: block;
  font-size: 1.02rem;
}
.su-done p {
  margin-top: 0.2rem;
  font-size: 0.86rem;
  color: #777;
}
.su-home-link {
  display: inline-flex;
  margin-top: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-weight: 650;
}

/* ===== Legal / Contract ===== */
.legal-page {
  background: #f5f5f5;
  min-height: 100vh;
}
.contract {
  width: min(100% - 1.5rem, 1080px);
  margin: 1.4rem auto 3rem;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 70vh;
}
@media (min-width: 900px) {
  .contract {
    grid-template-columns: 240px 1fr;
  }
}
.contract__toc {
  background: #f3f3f3;
  padding: 1.4rem 1.1rem;
  border-bottom: 1px solid #e8e8e8;
}
@media (min-width: 900px) {
  .contract__toc {
    border-bottom: 0;
    border-right: 1px solid #e8e8e8;
  }
}
.contract__toc a {
  display: block;
  font-size: 0.84rem;
  color: #444;
  padding: 0.35rem 0.2rem;
  line-height: 1.4;
}
.contract__toc a:hover {
  color: var(--purple);
}
.contract__body {
  padding: 1.8rem 1.4rem 2.4rem;
}
@media (min-width: 900px) {
  .contract__body {
    padding: 2.2rem 2.2rem 3rem;
  }
}
.contract__body h1 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.contract__body h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.7rem 0 0.55rem;
}
.contract__body p,
.contract__body li {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.contract__body ol,
.contract__body ul {
  padding-left: 1.15rem;
  margin-bottom: 0.7rem;
}
.contract__body ol {
  list-style: decimal;
}
.contract__body ul {
  list-style: disc;
}
.legal-simple {
  width: min(100% - 1.5rem, 760px);
  margin: 1.4rem auto 3rem;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 2rem 1.4rem 2.6rem;
}
.legal-simple h1 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}
.legal-simple h2 {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 1.5rem 0 0.5rem;
}
.legal-simple p,
.legal-simple li {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.legal-simple ol,
.legal-simple ul {
  padding-left: 1.15rem;
}
.legal-simple ol {
  list-style: decimal;
}
.legal-simple ul {
  list-style: disc;
}

/* 모달 iframe 임베드 */
html.embed .legal-page {
  background: #fff;
  min-height: auto;
}

html.embed .contract,
html.embed .legal-simple {
  margin: 0;
  border: 0;
  border-radius: 0;
  width: 100%;
  min-height: auto;
}

/* ===== Mobile fixed CTA ===== */
.mobile-cta {
  display: none;
}

@media (max-width: 899px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #ebebeb;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .mobile-cta__btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0c96a 0%, #dda434 38%, #c48e1e 72%, #e8b84a 100%);
    color: #fff !important;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 1px rgba(120, 70, 0, 0.25);
    box-shadow:
      0 6px 18px rgba(221, 164, 52, 0.45),
      0 0 24px rgba(221, 164, 52, 0.3),
      0 1px 0 rgba(255, 255, 255, 0.35) inset;
  }

  .mobile-cta__btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      115deg,
      transparent 0%,
      transparent 38%,
      rgba(255, 255, 255, 0.45) 50%,
      transparent 62%,
      transparent 100%
    );
    transform: translateX(-120%);
    animation: btnShine 3.2s ease-in-out infinite;
    pointer-events: none;
  }

  .mobile-cta__btn:active {
    filter: brightness(0.95);
    transform: scale(0.99);
  }

  body {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
  }
}

/* 모바일 전용 줄바꿈 (단어/구 단위) */
.m-br {
  display: none;
}

/* ===== Mobile: 텍스트/카드 중앙정렬 + 단어별 줄바꿈 ===== */
@media (max-width: 899px) {
  .m-br {
    display: block;
  }

  body {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
  }

  .hero__inner {
    text-align: center;
  }

  .hero__body {
    max-width: 100%;
    margin: 0 auto;
    padding-inline: 0.15rem;
  }

  .hero h1,
  .hero p {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
    line-height: 1.42;
    letter-spacing: -0.03em;
  }

  .hero__title {
    width: 100%;
  }

  .hero__line1,
  .hero__line2 {
    display: block;
    width: 100%;
    white-space: pre-line;
  }

  .hero__line1.is-typing {
    white-space: pre-wrap;
  }

  .hero p {
    font-size: clamp(1.15rem, 4.4vw, 1.32rem);
    line-height: 1.65;
    max-width: 20rem;
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 20rem;
    padding: 1.05rem 1.4rem;
    font-size: 1.08rem;
  }

  .hero__bg img {
    object-position: center 38%;
  }

  .hero__gradient {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.88) 38%,
      rgba(255, 255, 255, 0.55) 62%,
      rgba(255, 255, 255, 0.22) 82%,
      rgba(255, 255, 255, 0.08) 100%
    );
  }

  .plan__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .plan__price-box {
    text-align: center;
  }

  .plan ul {
    text-align: center;
  }

  .plan li {
    text-align: center;
    line-height: 1.55;
  }

  .value,
  .icon-cell,
  .step,
  .info-card,
  .contact-item,
  .final {
    text-align: center;
  }

  .value h3,
  .step h3,
  .info-card h3 {
    line-height: 1.45;
  }

  .value p,
  .step p,
  .info-card p {
    line-height: 1.55;
  }

  .info-card {
    padding-inline: 0.85rem;
  }

  .final h2 {
    font-size: clamp(1.25rem, 5.2vw, 1.65rem);
    line-height: 1.5;
    max-width: 18rem;
    margin-inline: auto;
  }

  .final > .wrap > p,
  .final p {
    max-width: 16rem;
    margin-inline: auto;
    line-height: 1.65;
  }

  .link-btn {
    white-space: normal;
    line-height: 1.45;
    word-break: keep-all;
  }

  .footer__top {
    text-align: center;
    align-items: center;
  }

  .footer-brand {
    justify-content: center;
    flex-direction: column;
  }

  .footer-links .row {
    justify-content: center;
  }

  .footer-biz,
  .footer-copy {
    text-align: center;
    word-break: keep-all;
    line-height: 1.65;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand strong {
    font-size: 1.18rem;
    font-weight: 900;
    color: #111111;
  }

  .brand em {
    max-width: 12rem;
    white-space: normal;
    font-size: 0.72rem;
    font-weight: 650;
    color: #4a4540;
    line-height: 1.3;
  }

  .panel {
    padding-inline: 1.1rem;
  }
}
