/* MyAshton CI v1.0 palette: Forest #17362F, Purple #5B3F78, Ivory #F5F1EA, Sage #A9B8AF, Charcoal #252A28.
   The font is a renamed subset of Pretendard (OFL 1.1, Reserved Font Name "Pretendard"); see fonts/OFL.txt and README. */
@font-face {
  font-family: "MyAshton Subset";
  src: url("/fonts/myashton-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #17362F;
  --purple: #5B3F78;
  --ivory: #F5F1EA;
  --sage: #A9B8AF;
  --charcoal: #252A28;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "MyAshton Subset", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.wrap {
  width: min(100% - 48px, 640px);
  margin: auto;
  padding: 72px 0 88px;
}

/* The master SVG has 25/720 of its width as left padding; the negative margin lines the mark up with the text. */
.logo {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 0 56px -7px;
}

.logo-link { display: inline-block; border-radius: 4px; }

h1 {
  margin: 0 0 28px;
  color: var(--forest);
  font-size: clamp(30px, 6.4vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lead {
  margin: 0 0 48px;
  max-width: 33em;
}

.wait {
  margin: 0;
  color: var(--purple);
  font-weight: 600;
}

.wait::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 20px;
  background: var(--sage);
}

a { color: var(--purple); text-underline-offset: 4px; }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 56px 0 64px; }
  .logo { width: 168px; margin: 0 0 44px -6px; }
  h1 { margin-bottom: 22px; }
  .lead { margin-bottom: 40px; }
}
