/* Homepage spacing and semantic footer overrides for the embedded Framer layout. */
@media (max-width: 1199.98px) {
  .framer-jRNKK .framer-1ohumbo[data-framer-name] {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  /* Remove both empty desktop spacers so the rounded shell starts at the top. */
  .framer-jRNKK .framer-12yk8kp,
  .framer-jRNKK .framer-9cvib2 {
    display: none !important;
  }

  .framer-jRNKK .framer-v2wwvp[data-framer-name] {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.plantutor-semantic-footer,
.plantutor-semantic-footer * {
  box-sizing: border-box;
}

/* Keep the original fixed CTA above the semantic footer. The footer reserves
   a CTA-height clear zone so its text and links never sit behind the button. */
.framer-jRNKK .framer-11q99iw:is([href="https://smore.im/form/Zjkw6ZB3jY"], [href^="https://smore.im/form/Zjkw6ZB3jY?"], [href="https://www.plantutor.kr/apply"], [href^="https://www.plantutor.kr/apply?"]) {
  z-index: 60 !important;
}

.plantutor-semantic-footer {
  position: relative;
  z-index: 50;
  flex: none;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 40px max(20px, env(safe-area-inset-left)) calc(40px + 224px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-right));
  border-top: 0;
  background: #0f172a;
  color: #cbd5e1;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "system-ui", system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
}

.plantutor-semantic-footer__inner {
  width: 100%;
  max-width: 448px;
  margin: 0 auto;
}

.plantutor-semantic-footer__intro {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.plantutor-semantic-footer__reviewer {
  margin: 16px 0 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.plantutor-semantic-footer__divider {
  width: 100%;
  height: 1px;
  margin: 24px 0 20px;
  background: #334155;
}

.plantutor-semantic-footer__legal {
  display: block;
  margin: 0;
  color: #cbd5e1;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.plantutor-semantic-footer__company {
  margin: 0 0 12px;
  color: #f8fafc;
  font-weight: 600;
}

.plantutor-semantic-footer__business {
  display: grid;
  gap: 4px;
  margin: 0;
}

.plantutor-semantic-footer__business-row {
  display: flex;
  gap: 8px;
}

.plantutor-semantic-footer__business dt {
  flex: none;
  color: #94a3b8;
}

.plantutor-semantic-footer__business dd {
  min-width: 0;
  margin: 0;
  color: #cbd5e1;
}

.plantutor-semantic-footer a {
  color: inherit;
  text-decoration: none;
}

.plantutor-semantic-footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
}

.plantutor-semantic-footer__policies a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plantutor-semantic-footer a:hover,
.plantutor-semantic-footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plantutor-semantic-footer a:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
  border-radius: 2px;
}

.plantutor-semantic-footer__copyright {
  margin: 20px 0 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

@media (min-width: 1200px) {
  .plantutor-semantic-footer {
    width: 849px;
    max-width: 100%;
    margin: -662px auto 0;
    border-radius: 0 0 94px 94px;
    overflow: clip;
  }

  .plantutor-semantic-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    border: solid #d1d1d1;
    border-width: 0 10px 10px;
    border-radius: 0 0 94px 94px;
    pointer-events: none;
  }
}

@media (max-width: 1199.98px) {
  .plantutor-semantic-footer {
    padding-bottom: calc(40px + 152px + env(safe-area-inset-bottom));
  }
}
