:root {
  font-family: system-ui, "Leelawadee UI", sans-serif;
  background: #fff;
  color: #29292c;
  color-scheme: light;
  --logo-width: 59vw;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
header {
  padding: clamp(12px, 2.3vh, 26px) clamp(18px, 3vw, 60px);
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.management-wrap { position: relative; margin-inline-start: auto; }
.management {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  color: #515154;
  border: 0;
  border-radius: 999px;
  position: relative;
  isolation: isolate;
  background: transparent;
  font: 500 .75rem/1.2 system-ui, sans-serif;
  text-decoration: none;
}
.management::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  z-index: -1;
  border-radius: inherit;
  background: #f5f5f7;
}
.management:focus-visible { outline: 2px solid #355d78; outline-offset: 3px; }
#availability {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding: .4rem .7rem;
  border: 1px solid #dedee1;
  border-radius: .55rem;
  background: #fff;
  color: #444448;
  font-size: .8125rem;
  white-space: nowrap;
}
.management-wrap:not(.dismissed):is(:hover, :focus-within) #availability { display: block; }
main {
  background: #fff;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(20px, 4vh, 52px) 0;
}
.wordmark-stage {
  position: relative;
  width: min(var(--logo-width), 1150px, 158vh);
  width: min(var(--logo-width), 1150px, 158svh);
}
h1, footer p { margin: 0; }
.wordmark { display: block; width: 100%; height: auto; }
main { position:relative; }
.formation { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
footer {
  padding: 1.15rem max(1.2rem, env(safe-area-inset-right)) max(1.15rem, env(safe-area-inset-bottom));
  background: #fff;
  color: #606065;
  font-size: .8125rem;
  line-height: 1.6;
  text-align: center;
}
footer p {
  width: fit-content;
  margin-inline: auto;
  position: relative;
  isolation: isolate;
}
footer p::before {
  content: "";
  position: absolute;
  inset: -4px -12px;
  z-index: -1;
  background: #f5f5f7;
  border-radius: 999px;
}
@media (max-width: 1100px) { :root { --logo-width: 71vw; } }
@media (max-width: 600px) { :root { --logo-width: 83vw; } }
@media (max-height: 500px) and (orientation: landscape) {
  header { padding-block: 8px; }
  .wordmark-stage { max-width: 135vh; max-width: 135svh; }
  footer { padding-block: .65rem; }
}
