:root {
  color-scheme: light;
}

html,
body.sw-app-page {
  margin: 0;
  min-width: 320px;
}

body.sw-app-page {
  min-height: 100vh;
  overflow-x: clip;
}

body.sw-app-maintenance-page {
  background: #f7f3eb;
  color: #26342f;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sw-app-maintenance {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  box-sizing: border-box;
}

.sw-app-maintenance-card {
  width: min(100%, 680px);
  padding: clamp(32px, 7vw, 64px);
  border: 1px solid rgba(58, 77, 69, 0.18);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 22px 64px rgba(53, 49, 44, 0.08);
  text-align: center;
}

.sw-app-maintenance-card img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto 36px;
}

.sw-app-maintenance-kicker {
  margin: 0 0 14px;
  color: #466b5f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sw-app-maintenance h1 {
  max-width: 560px;
  margin: 0 auto 18px;
  color: #293631;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 8vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
}

.sw-app-maintenance p:last-child {
  max-width: 500px;
  margin: 0 auto;
  color: #5b655f;
  font-size: 1.08rem;
  line-height: 1.6;
}

.sw-app-legal-main {
  min-height: calc(100vh - 160px);
  padding: clamp(52px, 9vw, 112px) 0;
  background: #f7f3eb;
}

.sw-app-legal-shell {
  max-width: 820px;
}

.sw-app-legal-main h1 {
  margin: 12px 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
}

.sw-app-legal-content {
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(58, 77, 69, 0.18);
  border-radius: 22px;
  background: #fffdf8;
  font-size: 1.0625rem;
  line-height: 1.68;
}

.sw-app-legal-content > :first-child {
  margin-top: 0;
}

.sw-app-legal-content > :last-child {
  margin-bottom: 0;
}

.sw-app-legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

@media (max-width: 600px) {
  .sw-app-maintenance-card {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .sw-app-maintenance-card img {
    width: min(100%, 280px);
    margin-bottom: 28px;
  }
}


.sw-app-global-footer,
.sw-app-legal-footer {
  border-top: 1px solid rgba(47, 53, 52, 0.12);
  background: #fffdf8;
}

.sw-app-global-footer-inner,
.sw-app-legal-footer > .v2-shell {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 34px;
}

.sw-app-global-footer p {
  margin: 0;
  color: #2f3534;
  line-height: 1.5;
}

.sw-app-global-footer p span {
  color: #626b68;
}

.sw-app-global-footer nav,
.sw-app-legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.sw-app-global-footer a,
.sw-app-legal-footer a {
  color: #3e5b53;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.sw-app-legal-content h2 {
  margin: 2.1em 0 0.55em;
  color: #2f3534;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
}

.sw-app-legal-content h2:first-child {
  margin-top: 0;
}

.sw-app-legal-content a {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .sw-app-global-footer-inner,
  .sw-app-legal-footer > .v2-shell {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px 34px;
  }
}
