@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: quasimoda, sawarabi-gothic, sans-serif;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  flex: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px;
  color: #ffffff;
  mix-blend-mode: difference;
}
@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
  }
}
.site-header__brand {
  font-family: Futura, "Futura PT", "Jost", "Century Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 640px) {
  .site-header__nav {
    gap: 12px;
  }
}
.site-header__nav a {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.theme-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.theme-switch button {
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .theme-switch button {
    padding: 4px 8px;
  }
}
.theme-switch button[aria-pressed=true] {
  color: var(--switch-on-fg, var(--bg));
  background: var(--switch-on-bg, var(--fg));
}

.hero {
  position: relative;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 64px 40px;
  text-align: center;
  color: var(--hero-fg);
  background: var(--hero-bg);
}
@media (max-width: 640px) {
  .hero {
    padding: 64px 20px;
  }
}
.hero__title {
  font-family: Futura, "Futura PT", "Jost", "Century Gothic", sans-serif;
  font-size: clamp(30px, 9vw, 136px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
}
.hero__scroll {
  position: absolute;
  right: 40px;
  top: 104px;
  font-size: 14px;
  color: var(--hero-muted);
  transition: color 0.2s;
}
.hero__scroll:hover {
  color: var(--hero-fg);
}
@media (max-width: 640px) {
  .hero__scroll {
    right: 20px;
    top: 84px;
  }
}

.hero__icon {
  position: relative;
  z-index: 1;
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--hero-muted);
}

.hero__code,
.hero__reason {
  display: block;
}

.hero__reason {
  font-size: 0.32em;
  letter-spacing: 0.06em;
  margin-top: 0.3em;
}

.hero__note {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--hero-muted);
}
.hero__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__lead {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
}

.hero__back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 10px 20px;
  font-size: 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.section {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 3fr;
  gap: 40px;
  padding: 120px 40px;
}
@media (max-width: 640px) {
  .section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 80px 20px;
  }
}
.section__label {
  font-family: Futura, "Futura PT", "Jost", "Century Gothic", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}
.section__label span {
  color: var(--muted);
  margin-right: 1.5em;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}
.facts__row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 3fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: 13px;
  color: var(--muted);
}
.facts dd {
  margin: 0;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.avatar {
  display: block;
  width: 120px;
  height: 120px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 40px;
  color: var(--footer-fg);
  background: var(--footer-bg);
}
@media (max-width: 640px) {
  .site-footer {
    padding: 0 20px;
  }
}
.site-footer__top {
  color: var(--footer-muted);
  transition: color 0.2s;
}
.site-footer__top:hover {
  color: var(--footer-fg);
}

:root {
  --bg: #fff4fa;
  --fg: #111111;
  --key: #812990;
  --on-key: #ffffff;
  --button: var(--key);
  --on-button: var(--on-key);
  --muted: #6b5a66;
  --line: #111111;
  --hero-bg:
  	repeating-conic-gradient(from 0deg at 50% 50%, var(--key) 0deg 8deg, color-mix(in srgb, var(--key) 70%, #ffffff) 8deg 16deg);
  --hero-fg: #ffffff;
  --hero-muted: #111111;
  --footer-bg: color-mix(in srgb, var(--key) 45%, #ffffff);
  --footer-fg: #111111;
  --footer-muted: #111111;
}

.site-header {
  inset: 12px 12px auto;
  color: #111111;
  mix-blend-mode: normal;
  background: #ffffff;
  border-radius: 999px;
  border: 3px solid #111111;
  box-shadow: 4px 4px 0 #111111;
}
@media (max-width: 640px) {
  .site-header {
    padding: 0 10px 0 16px;
  }
}
.site-header__brand {
  font-weight: 700;
}
@media (max-width: 640px) {
  .site-header__brand {
    font-size: 14px;
  }
}
.site-header__nav a {
  font-weight: 700;
  padding: 4px 16px;
}
@media (max-width: 640px) {
  .site-header__nav a {
    padding: 4px 10px;
  }
}
.site-header__nav a {
  border-radius: 999px;
  color: var(--on-button);
  background: var(--button);
  border: 2px solid #111111;
}

.theme-switch {
  font-weight: 700;
  border: 2px solid #111111;
  --switch-on-bg: var(--button);
  --switch-on-fg: var(--on-button);
}

.hero__title {
  display: inline-block;
  text-align: left;
  font-size: clamp(40px, 12vw, 180px);
  font-weight: 700;
  line-height: 0.9;
  color: #ffffff;
  -webkit-text-stroke: 0.06em #111111;
  paint-order: stroke fill;
  text-shadow: 0.06em 0.06em 0 #3ec6ff, 0.09em 0.09em 0 #111111;
}

.hero__word {
  display: block;
}
.hero__word:last-child {
  position: relative;
  margin-top: 0;
  margin-left: 2.87em;
}
.hero__word:last-child::after {
  content: "★";
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 0.15em;
  color: #8fe31c;
  -webkit-text-stroke: 0.08em #111111;
  text-shadow: none;
}

.hero__scroll {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #111111;
  background: #ffffff;
  border: 3px solid #111111;
  box-shadow: 3px 3px 0 #111111;
}
.hero__scroll:hover {
  color: var(--on-button);
  background: var(--button);
}

.section__label {
  font-weight: 700;
}
.section__label span {
  color: var(--key);
}

.hero__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 28px;
  border-radius: 50%;
  color: var(--key);
  background: #ffffff;
  border: 3px solid #111111;
  box-shadow: 3px 3px 0 #111111;
}

.hero__note {
  color: #ffffff;
  font-weight: 700;
}

.hero__reason {
  font-size: 0.42em;
  -webkit-text-stroke-width: 0.1em;
  text-shadow: 0.08em 0.08em 0 #111111;
}

.hero--notfound .hero__title,
.hero--status .hero__title {
  font-size: clamp(36px, 9vw, 140px);
}

.hero__lead {
  font-weight: 700;
  color: #111111;
  padding: 6px 16px;
  background: #ffffff;
  border-radius: 999px;
  border: 2px solid #111111;
}

.hero__back,
.support-link {
  font-weight: 700;
  color: var(--on-button);
  background: var(--button);
  border: 3px solid #111111;
  box-shadow: 3px 3px 0 #111111;
}

.avatar {
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #111111;
  box-shadow: 3px 3px 0 #111111;
}

.facts {
  padding: 4px 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 3px solid #111111;
  box-shadow: 5px 5px 0 #111111;
}
.facts__row {
  border-bottom-width: 2px;
  border-bottom-style: dashed;
}
.facts__row:last-child {
  border-bottom: 0;
}
.facts dt {
  font-weight: 700;
  color: var(--key);
}

.site-footer {
  border-top: 3px solid #111111;
  font-weight: 700;
}
