:root {
  color-scheme: light;
  --ink: #34334c;
  --text-soft: #65637a;
  --page: #fff9f5;
  --button: #ffd1dc;
  --button-hover: #ffc3d2;
  --button-border: #f4a9bd;
  --title: #6c5b8f;
  --mail-ink: #73516b;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(200, 238, 255, 0.75), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(255, 231, 138, 0.52), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(222, 216, 255, 0.72), transparent 34%),
    var(--page);
}

body {
  height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.temporary-page {
  position: relative;
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  justify-items: center;
  gap: clamp(8px, 1.6vh, 18px);
  padding: clamp(10px, 2vh, 18px) 0 clamp(12px, 2.4vh, 24px);
}

.top-actions {
  position: fixed;
  top: clamp(14px, 2.4vh, 24px);
  right: clamp(14px, 2.8vw, 32px);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.icon-button {
  position: relative;
  display: inline-flex;
  width: clamp(46px, 4.8vw, 56px);
  height: clamp(46px, 4.8vw, 56px);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(145deg, #ffd4df, #ffc3d2 58%, #d8ccff);
  box-shadow:
    0 5px 0 rgba(255, 255, 255, 0.58) inset,
    0 12px 24px rgba(132, 104, 155, 0.18);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 rgba(255, 255, 255, 0.62) inset,
    0 16px 28px rgba(132, 104, 155, 0.22);
}

.icon-button:focus-visible {
  outline: 3px solid rgba(255, 209, 220, 0.68);
  outline-offset: 4px;
}

.icon-button::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: max-content;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--mail-ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(132, 104, 155, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.icon-button:hover::after,
.icon-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.language-button {
  appearance: none;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: #ffd1dc;
  color: var(--mail-ink);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(132, 104, 155, 0.18);
}

.language-button::after {
  display: none;
}

.language-label {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0;
}


.site-title {
  display: flex;
  width: 100%;
  min-height: clamp(86px, 17vh, 158px);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 clamp(18px, 4vw, 48px);
}

.site-logo {
  display: block;
  width: min(76vw, 620px);
  max-height: clamp(72px, 15vh, 140px);
  height: auto;
  object-fit: contain;
}

.hero-image {
  display: block;
  width: auto;
  max-width: min(92vw, 1040px);
  height: auto;
  max-height: 100%;
  min-height: 0;
  align-self: center;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(132, 104, 155, 0.16));
}

.message-strip {
  width: min(920px, calc(100% - 32px));
  justify-self: center;
}

.message-strip p {
  margin: 0;
  padding: clamp(10px, 1.8vh, 16px) clamp(18px, 4vw, 38px);
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 700px) {
  .temporary-page {
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .top-actions {
    top: 12px;
    right: 12px;
  }

  .language-button {
    width: 52px;
    height: 52px;
  }

  .site-title {
    min-height: clamp(76px, 14vh, 112px);
    padding-right: clamp(18px, 4vw, 48px);
  }

  .site-logo {
    width: min(72vw, 420px);
    max-height: clamp(62px, 12vh, 96px);
  }

  .hero-image {
    max-width: min(96vw, 760px);
  }
}
