/* Public company content only; keep application and payment styles untouched. */
.orot-about-document {
  margin: 0;
  background: #fcfbf9;
}

.orot-public-page,
.orot-public-footer {
  box-sizing: border-box;
  color: #38332f;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.orot-public-page {
  width: calc(100% - 40px);
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 0 40px;
}

.orot-public-header {
  margin: 0 0 32px;
}

.orot-public-header img {
  display: block;
  margin-bottom: 20px;
}

.orot-public-page .orot-public-eyebrow {
  margin: 0 0 4px;
  color: #70635a;
  font-size: 14px;
}

.orot-public-page h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.orot-public-page .orot-public-lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.65;
  word-break: keep-all;
}

.orot-public-section {
  padding: 24px 0;
  border-top: 1px solid #e7e0d8;
}

.orot-public-page h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.orot-public-page p {
  margin: 0 0 10px;
}

.orot-public-page p:last-child {
  margin-bottom: 0;
}

.orot-public-page .orot-public-note {
  color: #70635a;
  font-size: 14px;
}

.orot-public-page a,
.orot-public-footer a {
  color: #554432;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.orot-public-page a:focus-visible,
.orot-public-footer a:focus-visible {
  outline: 3px solid #7e684e;
  outline-offset: 4px;
}

.orot-public-footer {
  padding: 24px 20px;
  border-top: 1px solid #e7e0d8;
  background: #fcfbf9;
  font-size: 13px;
}

.orot-public-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 20px;
  row-gap: 4px;
  max-width: 900px;
  margin: 0 auto;
}

.orot-public-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (min-width: 801px) {
  /* The existing app has a fixed sidebar; static pages do not. */
  #root:not(:empty) ~ .orot-public-footer {
    padding-left: 256px;
  }
}

@media (max-width: 800px) {
  /* Keep contact links above the existing app's fixed mobile navigation. */
  #root:not(:empty) ~ .orot-public-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 400px) {
  .orot-public-page {
    padding-top: 32px;
  }

  .orot-public-footer-inner {
    column-gap: 16px;
  }
}
